SMW System Testing with Selenium

From semantic-mediawiki.org
Jump to: navigation, search

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


SMW System Testing with Selenium en

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox