However, when I run “neko tests.n”, I get to an area in my code that looks like this:
var content:String = Assets.getText("assets/data/my.xml");
xml = Xml.parse(content);
and I get “Invalid field access : __s” on the second of the above lines.
When I put a trace to find the value of content, it was null.
When I publish or debug my project through FlashDevelop, I get no errors and the XML file is read just fine, the same two lines are even hit without issue.
I really stumped as to what I’m doing wrong.
When I change my hxml to look at a file that doesn’t exist, I get an error, so it’s finding the file, but when I when my code it’s like it’s empty or not found.
Ok, I finally got it to build and work. I just run these two command lines:
haxelib run lime build "Test.xml" neko
haxelib run lime run "Test.xml" neko
Now the only is that when I run these two commands, I get a neko window popping up, but all my tests run. Is there an option to not have a window popup?