Repository navigation
Test Strategy
Stein Korsveien edited this page Nov 3, 2020
·
22 revisions
to deliver high-quality software at an accelerated rate to keeping the cost to a minimum. to obtain immediate feedback on the business risks associated with a software release.
- All has the responsibility of quality
- Everyone is encouraged to develop an understanding of the requirements and what testing is required.
- Everyone is supported to perform testing, through exploration or by executing test automation.
- Everyone responds to problems rapidly, whether reported by an individual or a continuous integration server.
- The test aiyomation tools that are use should bee using should automate in the same language as development
- The test automation too should be integration in the development environment.
- Easy to to integerate in the devops cycle
- Select Tool the are use by many and have a community that developed
- We use peer reviews of our proposed changes to gain whatever assurance is needed that our changes will operate as designed.
- We automate as much of the quality checking typically performed by a QA or Information Security department as possible.
- Instead of developers needing to request or schedule a test to be run, these tests can be performed on demand, enabling developers to quickly test their own code and even deploy those changes into production themselves.
Automated tests should be:
- Concise—As simple as possible and no simpler.
- Self Checking—Test reports its own results; needs no human interpretation.
- Repeatable—Test can be run many times in a row without human intervention.
- Robust—Test produces same result now and forever.
- Tests are not affected by changes in the external environment.
- Sufficient—Tests verify all the requirements of the software being tested.
- Necessary—Everything in each test contributes to the specification of desired behavior.
- Clear—Every statement is easy to understand
- Efficient—Tests run in a reasonable amount of time.
- Specific—Each test failure points to a specific piece of broken functionality; unit test failures provide “defect triangulation”
- Independent—Each test can be run by itself or in a suite with an arbitrary set of other tests in any order.
- Maintainable – Tests should be easy to understand and modify and extend.
- Traceable—To and from the code it tests and to and from the requirements.
All code shod be coved by black box testing #Practices ATDD/BDD/TDD System Test Acceptance Tests Contract Tests Integration Test Unit Tests Static Test Measure Code Quality
Measure Code Quality SonarCloud
Static Testing
Eslint Checkstyle
Code coverage measurement Logging Store of test result for
Jacoco Jest Covarag?
Unit Test Sping Boot Test Junit Mockito
React Test Lib Jest Jest Mock
Integration Test/Social Unit Test Spring Boot Test Junit
API Test
Rest Assured
Cucumber/Java
System Test / GUI Selenium, Jets, JavaScript