-
Notifications
You must be signed in to change notification settings - Fork 7
Web UI Unit Testing
nazchk edited this page Jul 29, 2019
·
3 revisions
The following information on how to create and execute Web UI unit test has been moved from a comment on issue #106 to this wiki page to facilitate its accessibility.
Web UI unit test can be executed manually. In future these tests are planned to be put on maven runner to be used in CI tools.
- Domain extension.
- Use ua.com.fielden.platform.sample.domain package in src/main/java source folder from platform-pojo-bl module to create testing entities (use eclipse plugin to make it properly!).
- Implement createFetchProvider method for concrete companion objects if necessary.
- Db recreation.
- Use ua.com.fielden.platform.web.test.server.PopulateDb from platform-web-resources.
- VM arguments: -Djava.system.class.loader=ua.com.fielden.platform.classloader.TgSystemClassLoader
- Add if necessary any domain population logic for testing.
- TG testing server start.
- Use ua.com.fielden.platform.web.test.server.Start from platform-web-resources.
- VM arguments: -Djava.system.class.loader=ua.com.fielden.platform.classloader.TgSystemClassLoader
- Add if necessary any Web UI specific logic (i.e. masters, centres registration) into ua.com.fielden.platform.web.test.server.WebApp.
- Web UI tests start.
- Open browser with https://tgdev.com:9999/resources/tests.html URI (all tests in one runner).
- 'TODO needs to be updated'.
Per aspera ad astra
- Web UI Design and Web API
- Safe Communication and User Authentication
- Gitworkflow
- JavaScript: Testing with Maven
- Java Application Profiling
-
TG Development Guidelines
- TLS and HAProxy for development
- TG Development Checklist
- Entities and their validation
- Entity Properties
- Entity Type Enhancement
- EQL
- Tooltip How To
- All about Matchers
- Streaming data
- Synthetic entities
- Activatable entities
- Jasper Reports
- Opening Compound Master from another Compound Master
- Window management test plan
- Multi Time Zone Environment
- GraphQL Web API
- Guice
- Maven
- Full Text Search
- Deployment recipes
- Application Configuration
- JRebel Installation and Integration
- Compile-time mechanisms