#15 App resource file not available for unit tests

2.2.0-SNAPSHOT
closed-fixed
5
2012-03-20
2012-03-11
No

Plugin Version: 2.2.0-SNAPSHOT

The .app files are not generated in the target/xxxxx-test/ebin directory, which make impossible in the unit tests to use
application:start(xxxxx).

Discussion

    • assigned_to: nobody --> schlagert
     
  • Ah, yes well spotted. Currently the interpolation and preparation of the .app file only takes place during packaging, it should of course also be available to tests.

    This bug is also a candidate to be fixed before the 2.2.0 release. I'm assigning it to Tobias ;-).

     
    • milestone: 1254973 --> 2.2.0-SNAPSHOT
    • status: open --> open-fixed
     
  • Ok, the application resource file should is now available to unit tests. I've added some test cases to the test_otp and test_std integration tests to verify this.

    I'll ask Olle to deploy the latest snapshot tomorrow, so you can verify the patch.

    Regards
    Tobias

     

  • Anonymous
    2012-03-15

    I will checkout the latest version of the code on the repository and build the snapshot myself

    Thanks,
    Nicolas

     

  • Anonymous
    2012-03-16

    I tested yesterday, and the fix is working.

    Thanks.

     
    • status: open-fixed --> closed-fixed