Mostly I work in netbeans, but for testing, due to the need to use fant, I suspect this won't work. So, I'm trying from the CLI.
I have a pod, mrctesting, and fan/ClassSomething and test/TestClassSomething, as per
http://fantom.org/doc/docTools/Fant.html
Now, wherever and however I run
fant mrctesting
I get:
sys::UnknownPodErr: mrctesting
at fan.sys.UnknownPodErr.<init>(UnknownPodErr.java:39)
at fan.sys.UnknownPodErr.make(UnknownPodErr.java:25)
at fan.sys.UnknownPodErr.make(UnknownPodErr.java:22)
etc.
I'm sure this is 101 basic, but the instructions use one pod name to describe organisation, another for writing tests, and yet another for running tests, so it's impossible to know where to start looking due to this inconsistency.
I'd appreciate a pointer. Thanks.
tcolarThu 19 Aug 2010
Did you build the pod ? It needs to be built first before it can be tested I think.
cd mrctesting
fan build.fan
fant mrctesting
Also you should be able to build from Netbeans. Right clik the project/pod then choose "build pod", then choose "test pod".
tacticsFri 20 Aug 2010
As tcolar said, you may not have installed the pod.
You can check the list of installed pods from the command line:
fan -pods
This command is super-helpful when you have multiple installs of Fantom.
auxbuss Thu 19 Aug 2010
I'm new to fantom, so finding my feet.
Mostly I work in netbeans, but for testing, due to the need to use fant, I suspect this won't work. So, I'm trying from the CLI.
I have a pod, mrctesting, and fan/ClassSomething and test/TestClassSomething, as per
Now, wherever and however I run
I get:
I'm sure this is 101 basic, but the instructions use one pod name to describe organisation, another for writing tests, and yet another for running tests, so it's impossible to know where to start looking due to this inconsistency.
I'd appreciate a pointer. Thanks.
tcolar Thu 19 Aug 2010
Did you build the pod ? It needs to be built first before it can be tested I think.
Also you should be able to build from Netbeans. Right clik the project/pod then choose "build pod", then choose "test pod".
tactics Fri 20 Aug 2010
As tcolar said, you may not have installed the pod.
You can check the list of installed pods from the command line:
This command is super-helpful when you have multiple installs of Fantom.
auxbuss Fri 20 Aug 2010
Thanks for that. Thought it would be simple.