-
Notifications
You must be signed in to change notification settings - Fork 6
Add (incomplete) base/pass fixture #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
andy1li
wants to merge
4
commits into
main
Choose a base branch
from
andy/fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
2302360
feat: add record_fixtures target and new test case for pass_all stage
andy1li 5b4e14e
fix: update stage slugs in pass_all test case for compatibility
andy1li 3790646
refactor: update test cases and database structure in pass fixture
andy1li b9d6390
refactor: update test cases in stages_test.go and pass fixture
andy1li File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
Debug = true | ||
|
||
[33m[tester::#SZ4] [0m[94mRunning tests for Stage #SZ4 (sz4)[0m | ||
[33m[tester::#SZ4] [0m[36mCreating test.db with tables: [apple blueberry grape orange strawberry][0m | ||
[33m[tester::#SZ4] [0m[94m$ ./your_sqlite3.sh test.db .tables[0m | ||
[33m[your_program] [0mapple blueberry grape orange strawberry | ||
[33m[tester::#SZ4] [0m[92mTest passed.[0m | ||
|
||
[33m[tester::#ND9] [0m[94mRunning tests for Stage #ND9 (nd9)[0m | ||
[33m[tester::#ND9] [0m[36mCreating table 'grape' with 114 rows[0m | ||
[33m[tester::#ND9] [0m[94m$ ./your_sqlite3.sh test.db "select count(*) from grape"[0m | ||
[33m[your_program] [0m114 | ||
[33m[tester::#ND9] [0m[92mTest passed.[0m | ||
|
||
[33m[tester::#WS9] [0m[94mRunning tests for Stage #WS9 (ws9)[0m | ||
[33m[tester::#WS9] [0m[94m$ ./your_sqlite3.sh test.db "SELECT id, name FROM superheroes WHERE eye_color = 'Gold Eyes'"[0m | ||
[33m[your_program] [0m764|Azrael (New Earth) | ||
[33m[your_program] [0m1131|Lambien (New Earth) | ||
[33m[your_program] [0m1616|Anna Fortune (New Earth) | ||
[33m[your_program] [0m2995|Layla (New Earth) | ||
[33m[your_program] [0m4346|Allegra Garcia (New Earth) | ||
[33m[your_program] [0m4533|Kal-El (DC One Million) | ||
[33m[your_program] [0m4710|Amber (New Earth) | ||
[33m[your_program] [0m4765|Ahura-Mazda (New Earth) | ||
[33m[your_program] [0m5413|Majistra (New Earth) | ||
[33m[tester::#WS9] [0m[94m$ ./your_sqlite3.sh test.db "SELECT id, name FROM superheroes WHERE eye_color = 'Pink Eyes'"[0m | ||
[33m[your_program] [0m297|Stealth (New Earth) | ||
[33m[your_program] [0m790|Tobias Whale (New Earth) | ||
[33m[your_program] [0m1085|Felicity (New Earth) | ||
[33m[your_program] [0m2729|Thrust (New Earth) | ||
[33m[your_program] [0m3289|Angora Lapin (New Earth) | ||
[33m[your_program] [0m3913|Matris Ater Clementia (New Earth) | ||
[33m[tester::#WS9] [0m[94m$ ./your_sqlite3.sh test.db "SELECT id, name FROM superheroes WHERE hair_color = 'Reddish Brown Hair'"[0m | ||
[33m[your_program] [0m474|Yolanda Montez (New Earth) | ||
[33m[your_program] [0m3748|Deron Ved (Earth-One) | ||
[33m[your_program] [0m6777|G'Nort (New Earth) | ||
[33m[tester::#WS9] [0m[92mTest passed.[0m | ||
|
||
[33m[tester::#NZ8] [0m[94mRunning tests for Stage #NZ8 (nz8)[0m | ||
[33m[tester::#NZ8] [0m[94m$ ./your_sqlite3.sh test.db "SELECT id, name FROM companies WHERE country = 'micronesia'"[0m | ||
[33m[your_program] [0m1307865|college of micronesia | ||
[33m[your_program] [0m3696903|nanofabrica | ||
[33m[your_program] [0m4023193|fsm statistics | ||
[33m[your_program] [0m6132291|vital energy micronesia | ||
[33m[your_program] [0m6387751|fsm development bank | ||
[33m[tester::#NZ8] [0m[94m$ ./your_sqlite3.sh test.db "SELECT id, name FROM companies WHERE country = 'tonga'"[0m | ||
[33m[your_program] [0m361142|tonga communications corporation | ||
[33m[your_program] [0m3186430|tonga development bank | ||
[33m[your_program] [0m3583436|leiola group limited | ||
[33m[your_program] [0m4796634|royco amalgamated company limited | ||
[33m[your_program] [0m7084593|tonga business enterprise centre | ||
[33m[tester::#NZ8] [0m[92mTest passed.[0m |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andy1li what's the context here and the reason for this PR? If we're adding this I think we should solve the problems mentioned above re: randomness and .dbinfo support not being available.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it's part of my investigation on the timing-out issue in the last "index" stage. The main purpose of this PR was to determine if the issue would happen in GH actions. Result: it did not time out here.
Will try and resolve the problems mentioned in the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, okay - yeah if it's easy to do feel free to, if not no problem we'll get to it when we're working on SQLite next