Skip to content

Demo showing how to use annotations to tag tests with Scalatest 2.0

Notifications You must be signed in to change notification settings

kciesielski/tags-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scalatest tagging example

This example demonstrates how easy it is to tag tests for ignoring with annotations. Example uses SBT 0.13 and Scalatest 2.0. Verified also with SBT 0.12.4.

Quick Info

  1. Run sbt
  2. Try to execute tests using test command. You should see output showing that 'before all' and 'after all' blocks ran, as well as standard test output.
  3. Now try test-only * -- -l tags.RequiresDb. You should see only output from the untagged test.

About

Demo showing how to use annotations to tag tests with Scalatest 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published