Several times in my career I worked in a program group that determined thata) We needed a build / testing systemb) We need to write our own c) We can have a developer spend a week to do this and they donβt have to touch anymore to him.
Each time, this led to a system that seems to work only for the person who wrote it and needs constant attention. I have spent many times trying to find a tool that I could grab to meet our needs, but come empty-handed. Typically, tools like this server have a very narrow market. Once again I am in need of something similar. Is there something there, or are we writing it again?Here are my requirements in priority order (the last few are just pleasant):
Ability to handle multi-project assembly. We have several components that ensure that other components use and use things from other components. The developer should be able to test 1 component and make changes without creating a world. Dependencies outside the project should be automatically inserted. Thus, for this it is important to be able to push the constructed objects to the server. Another aspect of this is the ability to remove all dependencies on the local directory for development on the road.
Do not worry about how everything will be built. This may seem strange, but I do not want the build system to worry about compiling my code. There are already great tools that do this for every language - Ant, CMake, etc. I just want to say what needs to be done to create things, and what conclusion he should take care of. So Project A can be in Java, Project B can be in C ++, you get the idea.
Is there any way to run tests on output
Show current build / test results on a web page
Email Results
Integration with RCS (we use svn)
Adam,
, , , , . , Anthill , . Java, , .
( ) , ( , QA ...) / . , . , , .
:2) Anthill ( ) , , .3) ( ) .4) ( )5)6) SCM, SVN , , , .
,
Apache Continuum Atlassian Bamboo β 2-6.
# 1 - .
Maven Ivy Java.
Visual Build, , . Windows . , , , .. , .
, AntHill. . , , , , , , , ..
. , - , ; , . ( ), stdout stderr, , . 8 , . , .
, .NET :
I would recommend if you intend to write a testing system that you consider using Test Anything Protocol . TAP has been used for 20 years and is widely used, especially for CPAN modules.
Common TAP format:
1..N ok 1 Description # Directive # Diagnostic .... ok 47 Description ok 48 Description more tests....
For example, the output of a test file might look like this:
1..4 ok 1 - Input file opened not ok 2 - First line of the input valid ok 3 - Read the rest of the file not ok 4 - Summarized correctly # TODO Not written yet
For more information, go to testanything.org .
Examples are copied from http://en.wikipedia.org/wiki/Test_Anything_Protocol