Automation Flashcards
what is an automated build
the steps to deployment are explicitly documented to make it quick, easy, reliable and repeatable
what is a build script
it makes the build process repeatable
creates an executable version of the system
what are semi automated tests
run the code but don’t compare the output to the expected
give 3 pros of automated testing
reduces scope of debugging
find bugs earlier
find one but and deal with it rather than them accumulating
what is ant
a java library and command line tool that drivers processes in build files as targets
describe the differences between ant and junit
ant is an automated build tool. It will build and compile files prior to running tests
Junit is a test harness, it wont compile anything
what is a continuous integration server (short)
continually build releasable software
what does a continuous integration server do (5)
integrate components
compile code, create executable version
run the unit, integration and acceptance tests
generate reports on quality (e.g. test coverage)
inform members if something fails
what is a failed build
compilation error
or tag doesn’t exist
what is an unstable build
build successful but unit tests fail
what is a stable build
no compilation errors and all tests pass
what can trigger a build (3)
build now
schedule
push