-
Notifications
You must be signed in to change notification settings - Fork 6
Web UI Unit Testing
homedirectory edited this page Nov 22, 2024
·
5 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.
- Create test entities in package
ua.com.fielden.platform.sample.domainin thesrc/main/javasource root in theplatform-pojo-bl. - In companion object implementations, provide the
createFetchProvidermethod if necessary.
- Create test entities in package
-
Db recreation.
- Use
ua.com.fielden.platform.web.test.server.PopulateDbfromplatform-web-resources. - Add domain population logic for testing if necesary.
- Use
-
TG test server start.
- Use
ua.com.fielden.platform.web.test.server.Startfromplatform-web-resources. - Add any Web UI specific logic (i.e. masters, centres registration) to
ua.com.fielden.platform.web.test.server.WebApp, if necessary.
- Use
-
Web UI tests start.
- Visit
https://tgdev.comand log in. - Visit
https://tgdev.com/resources/tests.html, which will start running all tests.- See
platform-web-ui/src/main/web/ua/com/fielden/platform/web/tests.html.
- See
- Visit
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
- TG Releases
- Domain-Driven Testing Guide
- TLS and HAProxy for development
- TG Development Checklist
- Entity
- Entities and their validation
- Entity Properties
- Entity Type Enhancement
- EQL
- Tooltip How To
- All about Matchers
- All about Fetch Models
- Streaming data
- Synthetic entities
- Activatable entities
- Save with fetch
- Jasper Reports
- Opening Compound Master from another Compound Master
- Window management test plan
- Multi Time Zone Environment
- GraphQL Web API
- Guice
- Maven
- RichText Data Migration
- Full Text Search
- Deployment recipes
- Application Configuration
- Observability
- JRebel Installation and Integration
- Compile-time mechanisms
- Work in progress