Limitation for GatlingHttpFunSpec

Hi Gatling Devs,

Am playing with your prototype Spec2 and general test demo at https://github.com/gatling/gatling-funspec-demo/.

Delving into the GatlingFunSpecExample, I ascend two levels into GatlingFunSpec to see that the only entry point is the
public method spec(). There is no access to the scenario so that one could define one’s usage patterns via inject()… as it
does not seem possible to override the default testScenario:

private[this] lazy val testScenario = scenario(this.getClass.getSimpleName)
  .exec(ChainBuilder(specs.reverse.toList))

private def setupRegisteredSpecs() = {
  require(specs.nonEmpty, "At least one spec needs to be defined")
  setUp(testScenario.inject(atOnceUsers(1)))
    .protocols(protocolConf)
    .assertions(forAll.failedRequests.percent.is(0))
}

Have I missed something?

Thanks,
Henry

The FunSpec is a first draft.
Improvement ideas and contributions welcome!