![]() |
Unit Testing FRC Project
Hi all,
I was wondering if anyone has had experience with unit testing their FRC project in netbeans. I'm not sure how much JUnit is supported by Java ME, but if it does I imagine it could be done by excluding the test folders from the build.xml Ant targets that build the jar for the robot. I was wondering if anyone else had done this and could describe their project set-up and modifications. I figure asking if anyone did it first is preferable to fording out and trying to hack everything out on my own. Thanks, Josh |
Re: Unit Testing FRC Project
I too, am wondering the same. I hope everyone will forgive this bump.
|
Re: Unit Testing FRC Project
All I've been able to do is port the program to a desktop app and unit test from there. But that lacks a lot of testing functionality. I'm hoping someone who would know sees this thread.
|
Re: Unit Testing FRC Project
By unit testing, I presume you refer to the process of writing a script to run a particular function or section of code through multiple scenarios and grade it's performance. If that's the case, you could, and may want to, do such testing without the use of JUnit. In my extremely limited knowledge of JUnit, there is frankly little that I can do with JUnit that I cannot do with my own custom program, and quite a bit that I would rather not have to run through JUnit.
What testing functionality are you looking for that JUnit gives you? |
Re: Unit Testing FRC Project
Quote:
There is probably a version out there for Java ME so that's not likely to be the problem. The auto generated build scripts for the FRC stuff are just very complicated and dense (since they are intended to be managed by netbeans). I was mainly wondering if any teams had gone down this road already so they could share how they configured their project. As an update, I have yet to undergo this investigation myself, so apologies to the other 2 posters. :) (Note: I explained unit testing so much for anyone that happens to stumble along this thread in the future :) ) |
Re: Unit Testing FRC Project
Quote:
Couple that with the test method/option, and you could have a very nice way to debug/unit test your robot. |
| All times are GMT -5. The time now is 10:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi