The sbt test plugin promotes the use of src/it for integration tests. So I coded my project accordingly.
The sbt frontline plugin appears to be unaware of that convention. Here’s why I say that:
I ran each of the following commands, and preserved the resulting jar file:
$ sbt
clean
compile
test:compile
it:compile
assembly
test:assembly
it:assembly
gatling-it:assembly
Based on file sizes, assembly packages src/main, and test:assembly packages src/main and src/test. But it:assembly and gatling-it:assembly appear to behave the same as assembly.
-rw-r–r-- 1 XXXX 1111310 Oct 24 17:15 fip-gatling-frontline-0.1.gatling-it.jar
-rw-r–r-- 1 XXXX 1111310 Oct 24 17:14 fip-gatling-frontline-0.1.it.jar
-rw-r–r-- 1 XXXX 1111310 Oct 24 17:13 fip-gatling-frontline-0.1.main.jar
-rw-r–r-- 1 XXXX 8917638 Oct 24 17:13 fip-gatling-frontline-0.1.test.jar
Is that a bug? Or did I perhaps just do it wrong?