How to run specifications sequentially

后端 未结 3 1869
温柔的废话
温柔的废话 2021-02-06 23:20

I want to create few specifications that interoperate with database.

class DocumentSpec extends mutable.Specification with BeforeAfterExample {
  sequential

  d         


        
3条回答
  •  滥情空心
    2021-02-07 00:00

    I suppose you are using SBT? If so, check the documentation: http://www.scala-sbt.org/release/docs/Detailed-Topics/Parallel-Execution

    The relevant SBT setting is parallelExecution. Add this to your project definition:

    parallelExecution in Test := false
    

提交回复
热议问题