Test automation Framework - NextensArelB/SwaggerGenerationTool GitHub Wiki
##Our Nextens Testautomation Framework One of the goals for the Testautomation team is to align the testing an tooling between the teams so we:
- Can share knowledge between teams
- Share work between teams
- We can better enforce "best practices" between teams
So we came up with this list of "preferred tools". Still this list is recommended and a team can use it's own tooling if this is an better choice or if there are technical reasons to do so.
In a later stage maybe we can come up with team members that are a resource of knowledge in a specific tool at some point in time.
##Preferred testing tools
Area | Framework/Tooling |
---|---|
C# code | MS Unittest |
Integration test | Karate and/or MS Unittest |
End to end test | Karate |
Frontend Javascript Angular/Storybook | Karma-Jasmine |
Frontend Javascript Angular/Storybook | Jest |
Frontend UI | Karate |
Load and performance testing | JMeter |
Status | Area | Unit | Integration | E2E | Performance |
---|---|---|---|---|---|
Current | Backend | MS-UnitTest | MS-UnitTest/Karate | Karate | Azure ApplicationInsights* |
Legacy | Backend | MS-UnitTest | MS-UnitTest | None | Azure ApplicationInsights * |
Current | Frontend | Jest | Jest | Karate UI | Azure ApplicationInsights* |
Legacy | Frontend | None | Postman** | None | Azure ApplicationInsights * |
Legacy | Frontend | None | Protractor*** | None | Azure ApplicationInsights * |
'*' Azure ApplicationInsights is more of an performance monitor than testing tool however it is an indication of the performance of our application | |||||
'**' To be phased out, however is in use by developers on local system. | |||||
'***' To be phased out: Protractor is dropping support for Angular. |
##Some generic tips about assertions The golden rule of assertions
##Alternative products
In team Naslag is using Protractor for GUI testing. In the near future Angular is dropping support for Protractor so this product is not listed in the list of preferred tooling. More information: [https://github.com/angular/protractor/issues/5502](Angular dropping Protractor )
##Current of preferred tooling [June 2021]
###Team naslag: Team Naslag will decide later about an replacement for Protractor for UI testing.