![]() ![]() ![]() A test initialization method is run before each test case in the test class. The annotation marks a method as a test initialization method. A test class finalizer method is run only once, and after all of the other methods in the test class are finished. ![]() The annotation marks a method as a test class finalizer method. You could then close the connection with the test class finalizer. For example, instead of creating a database connection in a test initializer and creating a new connection before each test method, you may want to use a test class initializer to open a connection before running the tests. A test class initialization method is run only once, and before any of the other methods in the test class. The annotation marks a method as a test class initialization method. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |