Automated Testing with MarathonITE
Automated testing plays a critical role in this age of agile software development. Test automation helps in successful implementation of continuous delivery and continuous integration. MarathonITE helps you in creating a test suite that can perform regression, smoke and also automated testing. Automation is especially useful for those test scenarios that are either costly or cumbersome to execute manually.
MarathonITE consists of a recorder that allows you to easily create test scripts. You can play your test scripts through MarathonITE user interface. Alternatively, a batch mode provides facilities to execute tests while unattended.
Semantic Action Recorder
MarathonITE consists of a recorder that allows you to easily create test scripts. Marathon records semantic actions on components rather than the raw actions like mouse clicks or keystrokes. Optionally, you can choose to record raw mouse/keyboard actions by switching the recording into raw mode. During recording, MarathonITE allows you to insert assertions, checklists and reusable module methods. You can also pause the recording or use the script console to access the application for debugging purposes.
- Automated recorder minimizes the learning curve. MarathonITE automatically records the actions performed on your application.
- You need not know coding to start recording tests. MarathonITE records scripts in Ruby. The object repository can be maintained through UI screens provided by MarathonITE.
- MarathonITE includes refactoring support for creating reusable modules. You can use extract module refactoring to quickly create reusable script methods.
Clean test setup using Fixtures
For successful test automation, you need to ensure that each test starts with a well known state. MarathonITE uses Fixtures to let you create a well known state from which a test script is started. Using fixtures, you can:
- Execute steps before the application is launched. You can use this, for example, to clean up a database.
- Execute steps before the test script is executed. For example, you can login into the application before each test is executed.
- Create different fixtures to launch the application in different states.
Group your tests
MarathonITE provides multiple ways of grouping your tests. You can group your tests as Features/Stories (like in BDD), assign a test to different issues or create a group test to be executed as a test suite. MarathonITE also allows you to execute tests of a particular group(s).
Integrate into the development workflow
You can integrate MarathonITE test suite execution into your development workflow. You can use the commandline batch mode to launch MarathonITE from your CI server. Altearnatively, you can launch MarathonITE as a Java task from an ANT build file and integrate it into your CI server.