Title: [RFC] Add CPython tests · Issue #1596 · RustPython/RustPython · GitHub
Open Graph Title: [RFC] Add CPython tests · Issue #1596 · RustPython/RustPython
X Title: [RFC] Add CPython tests · Issue #1596 · RustPython/RustPython
Description: Summary Now that we can run unittest ( #1587 ) I think we should start running the CPython tests (Lib/test) to test RustPython. Detailed Explanation My suggestion is to do the following: Copy all tests that can compile and run from CPyth...
Open Graph Description: Summary Now that we can run unittest ( #1587 ) I think we should start running the CPython tests (Lib/test) to test RustPython. Detailed Explanation My suggestion is to do the following: Copy all t...
X Description: Summary Now that we can run unittest ( #1587 ) I think we should start running the CPython tests (Lib/test) to test RustPython. Detailed Explanation My suggestion is to do the following: Copy all t...
Opengraph URL: https://github.com/RustPython/RustPython/issues/1596
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[RFC] Add CPython tests","articleBody":"## Summary\r\n\r\nNow that we can run `unittest` ( #1587 ) I think we should start running the CPython tests (Lib/test) to test RustPython.\r\n\r\n## Detailed Explanation\r\n\r\nMy suggestion is to do the following:\r\n\r\n1. Copy all tests that can compile and run from CPython Lib/test to RustPython Lib/test.\r\n2. Mark all the failed test with `@unittest.skip(\"TODO: fix RustPython\")`.\r\n3. Add a job for both linux and windows CI that will run the tests.\r\n\r\n## Drawbacks, Rationale, and Alternatives\r\n\r\n- There are many tests in CPython so we might want to consider choosing only a subsets of tests to work on at first.\r\n- We should see how slow it would take to run all the tests. We might want to run the tests in parallel.\r\n\r\n## Unresolved Questions\r\n\r\n- Should we mark the tests that currently don't pass with `@unittest.expectedFailure` so we will know when something is fixed?\r\n- What should happen to the snippets tests? Should we keep a duplicate set of tests?\r\n- Would we add tests to CPython set of tests?","author":{"url":"https://github.com/palaviv","@type":"Person","name":"palaviv"},"datePublished":"2019-11-15T13:55:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1596/RustPython/issues/1596"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6af4ae00-6212-27bd-262c-63d81f1231cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83E2:3AA36:F0EE76:14681BC:6A594307 |
| html-safe-nonce | 95bdde5e421c6fccc1628001de7e6d1e095baa93f4f857d6b35f149e036f7ad9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0UyOjNBQTM2OkYwRUU3NjoxNDY4MUJDOjZBNTk0MzA3IiwidmlzaXRvcl9pZCI6IjU0OTIyMDU2MzIxNjA4NzUyNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 00b53994b8e32486c091a796794e889b30cda9f9fd39fff945817f35cc1f7847 |
| hovercard-subject-tag | issue:523482832 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RustPython/RustPython/1596/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9df4d43031235602e8d70bebfb929e51ab302a383f8882f5d9707491e67474d/RustPython/RustPython/issues/1596 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9df4d43031235602e8d70bebfb929e51ab302a383f8882f5d9707491e67474d/RustPython/RustPython/issues/1596 |
| og:image:alt | Summary Now that we can run unittest ( #1587 ) I think we should start running the CPython tests (Lib/test) to test RustPython. Detailed Explanation My suggestion is to do the following: Copy all t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | palaviv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f801e05b35c85b2d72eae6534d2b1d4c02ba8732fd046450bab31e2f52450ce |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 49918fc503387d6d65b6bc6ce6f711c14d17bfbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width