-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
It would be helpful to allow developers to have access to configuration details which are passed to the test Framework via args.
in SBT:
testOptions in Test += Tests.Argument(file("").toURI.toString)
Example:
def runner(args: Array[String], remoteArgs: Array[String], testClassLoader: ClassLoader)
could forward the args array to the test suite and make it available - perhaps via an implicit similar to utest.framework.TestPath
This would allow tests to utilize values that come from SBT itself. Such as a URI to directory of the current project as above. The can be very handy when you need to functionally test things that require AJAX requests to a project file within a scala.js project.
Thanks
SethTisue, avakhrenev and GrigorievNick
Metadata
Metadata
Assignees
Labels
No labels