1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Adding new test suite

This commit is contained in:
Brian Fiete 2019-11-07 06:49:32 -08:00
parent a13042b96c
commit 61b440ea36
6 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# This ensures that we entry [4] remains open even after removing them item above it
ShowFile("src/Container.bf")
GotoText("//TestA")
ToggleBreakpoint()
GotoText("//TestB")
ToggleBreakpoint()
RunWithCompiling()
ShowWatches()
AddWatch("list")
SelectWatch("list")
OpenSelectedWatches()
SelectWatch("[4]")
OpenSelectedWatches()
FocusWatchDir(2)
AssertSelectedWatchEquals("5")
StepOver()
SelectWatch("[4]")
FocusWatchDir(2)
AssertSelectedWatchEquals("6")
Continue()
SelectWatch("[4]")
AssertSelectedWatchEquals("4")