function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Are unit tests in a managed package executed after deploying it?

I am currently developing a module that I want to publish on AppExchange as a managed package. In a unit test I had (for the sake of test coverage) to create a number of standard objects. E.g. 

    public static testMethod void testHtmlTable2() {
        Account acc = new Account(
            name = 'Test Account',
            Industry = 'Education',
            Website = '', 
            NumberOfEmployees = 20
        try {
            insert acc;
        } catch (Exception e) {}



Now I'm concerned that a company that is trying to install my package on their org has validation rules in place for Account and the test would fail. Is that a valid concern or are tests of managed packages not executed if and admin hits the "Run All Tests" button in their org?