openage icon indicating copy to clipboard operation
openage copied to clipboard

Improve testing/demos guide and add benchmarks

Open TheJJ opened this issue 9 years ago • 2 comments

We have existing documentation for creating tests and demos in doc/code/testing.md.

  • [ ] Simplify and improve the guide
  • [ ] Add a how-to for benchmarks

TheJJ avatar Apr 30 '17 22:04 TheJJ

doc/code/testing.md points in line 38 to python3 -m openage.testing --help. when I try that. I get /usr/bin/python3: No module named openage.testing.__main__; 'openage.testing' is a package and cannot be directly executed

castilma avatar May 02 '17 23:05 castilma

Then testing.md is wrong, as it should be python3 -m openage testing --help without the dot, as the central entry point is the root openage/__main__.py which then delegates the sub-argparser to the openage.testing module.

TheJJ avatar May 02 '17 23:05 TheJJ