automata icon indicating copy to clipboard operation
automata copied to clipboard

setup basic unit testing for `lib/core/control/automaton.ex`

Open upstarter opened this issue 5 years ago • 4 comments

Setup a good skeleton with elixir testing best practices would be a big step forward for the project.

See the BTSK (behavior tree starter kit) for examples of whats important to test for the abstract stuff in the API. That would be a great starting point.

upstarter avatar Feb 09 '20 02:02 upstarter

Hi @upstarter I would like to take this up.

Atul9 avatar Feb 09 '20 12:02 Atul9

Hey @Atul9, sorry it took so long to get back to you. I am still working on getting a simple version working. Right now it runs with iex -S mix, but only ticking the trees that do nothing but log. Next is to get a very simple sequence running, then we're off to the races! If you want to have a go at testing the existing simple functionality, just make a PR.

upstarter avatar Feb 14 '20 02:02 upstarter

@upstarter ok, I am familiar with adding function test but new to adding macro test, I am trying it out. I will work on it this weekend & If I need help with macro test I will ask about it in slack.

Atul9 avatar Feb 14 '20 04:02 Atul9

Hi @upstarter I am not feeling well. I need to take rest, hence someone else can take this up.

Atul9 avatar Feb 17 '20 17:02 Atul9