Advertisement
saasbook

Applesoft BASIC Cucumber feature

Apr 5th, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. Feature: enter and run a short BASIC program
  2.  
  3. As a beginning programmer in the late 1970's
  4. So that I can get excited about CS and become a professor someday
  5. I want to learn BASIC by entering and running simple programs
  6.  
  7. Background: The Apple II is booted and the BASIC interpreter is activated
  8.  
  9. Given there is no current BASIC program
  10.  
  11. Scenario: enter and run Hello World
  12.  
  13. When I enter the following program:
  14. | lines |
  15. | 10 HOME |
  16. | 20 PRINT "HELLO WORLD!" |
  17. And I clear the screen
  18. And I type "RUN"
  19. Then I should see "HELLO WORLD!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement