{"id":56672,"library":"scalatest","title":"ScalaTest","description":"ScalaTest is a free, open-source testing toolkit for Scala and Java programmers.","status":"active","version":"1.0.1","language":"java","source_language":null,"source_url":null,"tags":["testing","scala","java","test-framework"],"install":[{"cmd":"<dependency>\n  <groupId>org.scalatest</groupId>\n  <artifactId>scalatest</artifactId>\n  <version>1.0.1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.scalatest:scalatest:1.0.1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"AnyFlatSpec","correct":"org.scalatest.flatspec.AnyFlatSpec"}],"quickstart":{"code":"import org.scalatest.flatspec.AnyFlatSpec\n\nclass ExampleSpec extends AnyFlatSpec {\n  \"A Stack\" should \"pop values in last-in-first-out order\" in {\n    val stack = new Stack[Int]\n    stack.push(1)\n    stack.push(2)\n    assert(stack.pop() === 2)\n    assert(stack.pop() === 1)\n  }\n}","lang":"scala","description":"Basic ScalaTest flat spec example"},"warnings":[{"fix":"Upgrade to a recent ScalaTest version (e.g., 3.2.x) for your Scala version.","message":"ScalaTest 1.0.1 is very old; consider using a newer version for Scala 2.13/3 compatibility.","severity":"breaking","affected_versions":"< 3.0.0"}],"env_vars":null,"search_vec":"'framework':21 'free':5 'java':14,18 'open':7 'open-sourc':6 'programm':15 'scala':12,17 'scalatest':1,2 'sourc':8 'test':9,16,20 'test-framework':19 'toolkit':10","created_at":"2026-06-15T10:45:41.072325+00:00","updated_at":"2026-06-15T10:45:41.072325+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://www.artima.com/scalatest/","github":null,"docs":"https://appdoc.app/artifact/org.scalatest/scalatest/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}