Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Integration tests #249

Open
ozkriff opened this issue Dec 4, 2016 · 2 comments
Open

Core: Integration tests #249

ozkriff opened this issue Dec 4, 2016 · 2 comments

Comments

@ozkriff
Copy link
Owner

ozkriff commented Dec 4, 2016

Я успел наколбасит достаточно говнокода, что бы уже начать порядочно путаться в нем. Особенно в логике фильтрации событий.

Наверное, стоит замутить какие-то интеграциооные тесты для ядра, что бы хотя бы в его работе быть более-менее уверенным.

Смотри https://gist.github.com/ozkriff/eb85dda5b3ec868366a5e5fddbd8acf1 - прям сейчас можно вот такие многословные тесты делать. Надо бы придумать какой-то набор функций, что бы спрятать всякую рутину.

Было бы круто определять содержимое небольших карт через какое-то такое строковое ascii описание:

let map = "
... ... ... ...
  ... ... ... ...
... ... t.. r..
  t.. t.. r.. ..B
r.A r.. r.. ..C
  ... t.. ... ...
";
@ozkriff
Copy link
Owner Author

ozkriff commented Dec 11, 2016

@ozkriff
Copy link
Owner Author

ozkriff commented Dec 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant