SMW System Testing with Selenium
From semantic-mediawiki.org
System testing of Semantic MediaWiki can be done using Selenium and the Selenium Framework provided by MediaWiki.
Contents |
Glossary
- System test = A black box test of a system from a user's point of view. In our case, an instance of Semantic MediaWiki is used automatically to identify broken functionality.
- AUT = Application Under Test - the system that is tested, e.g., a local instance of Semantic MediaWiki.
- Selenium = A framework for recording and running system tests for web-based systems
- Test Suite = A range of test cases created for a specific system with specific settings, e.g., Skin.
- Test Case = An element of a test suite containing a set up, one or more assertions, and one tear down.
- Set up = A function creating the prerequisites for a test.
- Assertion (tests) = Typically, a function ending with an assertion. An assertion checks whether some status has been reached or not.
- Tear down = A function getting the system back to its origin before starting the test case.
Running tests
Writing tests
Related Information
- Kick-Off and Vision: Presentation at SMWCon Fall 2010 - SMW System Testing with Selenium - SMWCon Fall 2010
- Status 2011: Presentation at SMWCon 2011 - File:Kaempgen smwcon 2011 selenium.pdf
- People involved: Benedikt Kämpgen, Jonas Wäckerle