bocajnotnef / telegram-sequence-bot

bot to validate sequential chats
3 stars 0 forks source link

lots of refactoring, lots of unit tests #17

Closed bocajnotnef closed 6 years ago

bocajnotnef commented 6 years ago

Refactored the AlphaSequence class to contain all the validation then cleaned up the validation handler so it can swap out what kind of sequence we're checking as well.

doing all that then required hella testing to increase coverage, so now we've got a ton of mocking going on and lots more unit tests

Some things to consider:

This will address #8

bocajnotnef commented 6 years ago

Oh, and I nuked some code that isn't used anymore after @marcvberg's refactor