#7 Build pfunit/Examples/Fixture/Semi-Automatic(f2kunit)

closed
nobody
None
5
2013-04-16
2013-04-16
Christoph Piefke
No

Hi pFunit-team,
since I am in need for some unit-tests, I was giving the semi-automated ansatz in f2kunit a go and learn, but unfotunatly, the Fixture example does not build. I keep on trying ;)

Seems like 'testSuites.inc' is missing somehow.

Regarding the whole project: Any news on when-its-done^{tm}?

Best regards, Chris

Discussion

  • Okay, I am not able to build any of the examples out of the box.

    The 'Manual' one does not find base.mk in the relative path and all others miss testSuites.inc.

     
  • Small update,
    by bad, I did not understand the Makefile-logic at first. I managed to build the examples by first 'make SUT', then 'make tests'. But why is there no test-executable?

    Another problem: on my ubuntu machine, the perl interpreter is in /usr/bin/, not in /opt/local/bin. This should be optional, perhaps also in the makefile?

    Best, Chris

     
  • Tom Clune
    Tom Clune
    2013-04-16

    Hi Chris,

    I think I was still working on some of this when I did my last push. I'll push again in a few moments once I verify that the examples all still work.

    I would be very interested in feedback on how to best automate the creation of testSuites.inc. For the moment I'm leaving that step manual for the users.

    Note that f2kunit branch still lacks many AssertEqual() interfaces for FP arrays. Hope to get my developer to push by Monday.

    Cheers,

    - Tom

     
  • Tom Clune
    Tom Clune
    2013-04-16

    Chris,

    Turns out I accidentally put testSuites.inc into .gitignore in _all_ of the examples. Since I was not doing a fresh clone for my testing, I completely missed this.

    I've fixed and pushed.

    Sorry - you should not have had to struggle with this.

    Note -I've also now got a parameterized test case that works, but I cannot push it at the moment since I've broken something else. Probably later tonight or tomorrow that will be available.

    Cheers,

    - Tom

     
  • Tom Clune
    Tom Clune
    2013-04-16

    • status: open --> closed
     
  • Tom Clune
    Tom Clune
    2013-04-30

    Chris,

    Sorry for being silent for ~ 1 week. I think we'll be pushing DoubleComplex tomorrow. We'll then announce the 2.0 beta release shortly after that.

    - Tom