Port to Funogram #76
12 passed, 13 failed and 0 skipped
❌ src/VahterBanBot.Tests/TestResults/test-results.trx
25 tests were completed in 82s with 12 passed, 13 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BaseTests+BaseTests | 3✅ | 118ms | ||
PingTests+PingTests | 1✅ | 1❌ | 372ms | |
VahterBanBot.Tests.BanTests+BanTests | 3✅ | 3❌ | 377ms | |
VahterBanBot.Tests.MessageTests+MessageTests | 1❌ | 363ms | ||
VahterBanBot.Tests.MLBanTests+MLBanTests | 5✅ | 8❌ | 95ms |
✅ 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
Assert.True() Failure
Expected: True
Actual: False
✅ Message not recorded if chat is not on the list
❌ VahterBanBot.Tests.BanTests+BanTests
✅ NON Vahter can't ban on reply
❌ Only Vahter can unban user
Assert.True() Failure
Expected: True
Actual: False
❌ Vahter can ban on reply
Assert.True() Failure
Expected: True
Actual: False
❌ Vahter can unban user
Assert.True() Failure
Expected: True
Actual: False
✅ 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
Assert.True() Failure
Expected: True
Actual: False
❌ VahterBanBot.Tests.MLBanTests+MLBanTests
❌ If message got auto-deleted we can mark it as false-positive with a button click
Assert.True() Failure
Expected: True
Actual: False
❌ Message IS autobanned if it is a known false-negative spam
Assert.True() Failure
Expected: True
Actual: False
❌ Message IS autobanned if it looks like a spam
Assert.True() Failure
Expected: True
Actual: False
✅ Message is NOT autobanned if it has a stopword in specific chat
✅ Message is NOT autobanned if it is a known false-positive spam
✅ Message is NOT autobanned if it looks like a spam BUT local admin sent it
✅ Message is NOT autobanned if it looks like a spam BUT vahter sent it
❌ Message which were edited triggers auto-delete
Assert.True() Failure
Expected: True
Actual: False
❌ Message with spam in photo caption also triggers auto-delete
Assert.True() Failure
Expected: True
Actual: False
❌ Only vahter can press THE BUTTON(s)
Assert.True() Failure
Expected: True
Actual: False
❌ User can be saved from auto ban by vahter marking it false-positive
Assert.True() Failure
Expected: True
Actual: False
✅ User can recover from autoban by sending good messages
❌ User will be autobanned after consecutive spam
Assert.True() Failure
Expected: True
Actual: False
Annotations
Check failure on line 25 in src/VahterBanBot.Tests/PingTests.fs
github-actions / Test results
PingTests+PingTests ► Message got recorded
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/PingTests.fs:line 25
--- End of stack trace from previous location ---
Check failure on line 121 in src/VahterBanBot.Tests/BanTests.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Only Vahter can unban user
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/BanTests.fs:line 121
--- End of stack trace from previous location ---
Check failure on line 26 in src/VahterBanBot.Tests/BanTests.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Vahter can ban on reply
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/BanTests.fs:line 26
--- End of stack trace from previous location ---
Check failure on line 94 in src/VahterBanBot.Tests/BanTests.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Vahter can unban user
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/BanTests.fs:line 94
--- End of stack trace from previous location ---
Check failure on line 29 in src/VahterBanBot.Tests/MessageTests.fs
github-actions / Test results
VahterBanBot.Tests.MessageTests+MessageTests ► All data from the message being saved
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MessageTests.fs:line 29
--- End of stack trace from previous location ---
Check failure on line 92 in src/VahterBanBot.Tests/MLBanTests.fs
github-actions / Test results
VahterBanBot.Tests.MLBanTests+MLBanTests ► If message got auto-deleted we can mark it as false-positive with a button click
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 92
--- End of stack trace from previous location ---
Check failure on line 80 in src/VahterBanBot.Tests/MLBanTests.fs
github-actions / Test results
VahterBanBot.Tests.MLBanTests+MLBanTests ► Message IS autobanned if it is a known false-negative spam
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 80
--- End of stack trace from previous location ---
Check failure on line 20 in src/VahterBanBot.Tests/MLBanTests.fs
github-actions / Test results
VahterBanBot.Tests.MLBanTests+MLBanTests ► Message IS autobanned if it looks like a spam
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 20
--- End of stack trace from previous location ---
Check failure on line 249 in src/VahterBanBot.Tests/MLBanTests.fs
github-actions / Test results
VahterBanBot.Tests.MLBanTests+MLBanTests ► Message which were edited triggers auto-delete
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 249
--- End of stack trace from previous location ---
Check failure on line 237 in src/VahterBanBot.Tests/MLBanTests.fs
github-actions / Test results
VahterBanBot.Tests.MLBanTests+MLBanTests ► Message with spam in photo caption also triggers auto-delete
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 237
--- End of stack trace from previous location ---
Check failure on line 116 in src/VahterBanBot.Tests/MLBanTests.fs
github-actions / Test results
VahterBanBot.Tests.MLBanTests+MLBanTests ► Only vahter can press THE BUTTON(s)
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
Assert.True() Failure
Expected: True
Actual: False
Raw output
Assert.True() Failure
Expected: True
Actual: False
at [email protected]() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 116
--- End of stack trace from previous location ---