org.scalajs.jsenv.test
Members list
Packages
Type members
Classlikes
Conformance test suite for any JSEnv implementation.
Conformance test suite for any JSEnv implementation.
Use with the JSEnvSuiteRunner.
Example:
import org.junit.runner.RunWith
@RunWith(classOf[JSEnvSuiteRunner])
class MyJSEnvSuite extends JSEnvSuite(JSEnvSuiteConfig(new MyJSEnv))
Attributes
- See also
-
JSEnvSuiteConfig for details on the configuration.
- Supertypes
-
class Objecttrait Matchableclass Any
Configuration for a JSEnvSuite.
Configuration for a JSEnvSuite.
Value parameters
- awaitTimeout
-
Amount of time test cases wait for "things". This is deliberately not very well specified. Leave this as the default and increase it if your tests fail spuriously due to timeouts.
- description
-
A human readable description of this configuration; defaults to JSEnv#name. This is only ever used in the parametrized JUnit test name. Can be customized if the same JSEnv is used with different configurations (e.g. Selenium with different browsers).
- jsEnv
-
JSEnv under test.
- supportsCom
-
Whether the JSEnv under test supports JSEnv#startWithCom.
- supportsCommonJSModules
-
Whether the JSEnv under test supports JSEnv.Input.CommonJSModule.
- supportsESModules
-
Whether the JSEnv under test supports JSEnv.Input.ESModule.
- supportsScripts
-
Whether the JSEnv under test supports JSEnv.Input.Script.
- supportsTimeout
-
Whether the JSEnv under test supports the JavaScript timeout methods (as defined in RawTimers).
- terminateVMJSCode
-
A JavaScript expression that terminates the VM. If set, proper handling of VM termination is tested.
Attributes
- See also
-
JSEnvSuite for usage.
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JSEnvSuiteConfig.type
Runner for a JSEnvSuite. May only be used on subclasses of JSEnvSuite.
Runner for a JSEnvSuite. May only be used on subclasses of JSEnvSuite.
Attributes
- Supertypes
-
class Suiteclass ParentRunner[Runner]trait Sortabletrait Filterableclass Runnertrait Describableclass Objecttrait Matchableclass AnyShow all