Skip to content

Added ML

Added ML #19

GitHub Actions / Test results succeeded Jul 20, 2024 in 1s

14 passed, 0 failed and 0 skipped

Tests passed successfully

✅ src/VahterBanBot.Tests/TestResults/test-results.trx

14 tests were completed in 77s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BaseTests+BaseTests 3✅ 143ms
PingTests+PingTests 2✅ 480ms
VahterBanBot.Tests.BanTests+BanTests 4✅ 520ms
VahterBanBot.Tests.MessageTests+MessageTests 1✅ 467ms
VahterBanBot.Tests.MLBanTests+MLBanTests 4✅ 27ms

✅ BaseTests+BaseTests

✅ Not possible to interact with the bot without authorization
✅ Random path returns OK
✅ Should be possible to interact with the bot

✅ PingTests+PingTests

✅ Message got recorded
✅ Message not recorded if chat is not on the list

✅ VahterBanBot.Tests.BanTests+BanTests

✅ NON Vahter can't ban on reply
✅ Vahter can ban on reply
✅ Vahter can't ban another vahter
✅ Vahter can't ban on reply in non-allowed chat

✅ VahterBanBot.Tests.MessageTests+MessageTests

✅ All data from the message being saved

✅ VahterBanBot.Tests.MLBanTests+MLBanTests

✅ Message IS autobanned if it is a known false-negative spam
✅ Message IS autobanned if it looks like a spam
✅ Message is NOT autobanned if it has a stopword in specific chat
✅ Message is NOT autobanned if it is a known false-positive spam