Version 1.6
Check this file's history directly on Github.
RUP Revision History
- Introduction
- Evaluation Mission and Test
- Architectural Goal and Constraints
- Outline of Planned Tests
- Test Approach
- Deliverables
#1. Introduction
- Students
- Professors
- Open-source enthusiasts
#2. Evaluation Mission and Test Motivation Within todays fast and changing environment one will probably fail without automated tests. Weird error messages lead to unsatisfied customers. Still errors will occur, because you will never be able to cover them all. But the main goal with this approach is to cover more than 80% of all methods as well as keep them tested, because often errors happen to channel into your code with later commits.
This leads to a broken project and is often hard to resolve since you probably don't even know why.
We've chosen to use Mocha since it fits best into our project, but it's quite hard to keep an accurate test coverage, since we're using a special and customized design pattern.
Also there's a lot of UI-specific code that is hardly testable in general since it can differ a lot in different browsers.
What we except from our tests
- keep calculating algorithms (most important core) working correctly
- eliminate later bug occurence
- quality standards
- fast coverage overview
- automatisation
- faster & smoother development
- quality risks
- technical risks
- project risks
- use cases
- functional requirements
- non-functional requirements
- suspected failures
All tests can be executed seperately as well as automated with a build tool or continuous integration. Results are optionally sent to our HipChat conversation room or developers mailing list.
As mentioned above we keep our code base tested with automated Mocha tests. Those run through all specified use cases and calls each method on the one hand with valid input to validate those methods work as desired and on the other hand with invalid input to also cover error handling and possible system crashes.
Each test case comes with a .feature
file that formally describes the test case in human readable format.
They are mostly functional and descriptive with clear demand.