You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parser, resolver and validator are pretty well tested. However, the CSE machine is basically untested so far. There are two aspects of testing needed to be done
Testing the CSE machine: This is something Python chapter 2 (+ 3?) support #81 introduces extensively for Python 1 and 2. It builds a testing framework which uses runInContext to evaluate programs. It still lacks support for Python 3 and 4, although that
Testing Conductor-specific features: The issue with the runInContext method is it bypasses the Conductor entirely. Features like IO streams from Use Conductor-based streams for StdIO #107 and Autocomplete from Add Autocomplete and Syntax Highlighting #109 require a Conductor instance. IMO, there probably needs to be a mock Conductor framework which is testable
The parser, resolver and validator are pretty well tested. However, the CSE machine is basically untested so far. There are two aspects of testing needed to be done
Testing the CSE machine: This is something Python chapter 2 (+ 3?) support #81 introduces extensively for Python 1 and 2. It builds a testing framework which uses
runInContextto evaluate programs. It still lacks support for Python 3 and 4, although thatTesting Conductor-specific features: The issue with the
runInContextmethod is it bypasses the Conductor entirely. Features like IO streams from Use Conductor-based streams for StdIO #107 and Autocomplete from Add Autocomplete and Syntax Highlighting #109 require a Conductor instance. IMO, there probably needs to be a mock Conductor framework which is testable