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
GitEnvironment - a test helper that initializes a temporary git repository and sets up a basic commit history and file structure. Includes simple methods for making and checking the contents of files, commits, and cache.
FakeGithub - inspired by https://github.com/ezyang/ghstack/blob/master/ghstack/github_fake.py. A fake github server object that can parse and return results for graphql queries. Also contains a push target that intercepts git pushes and redirects them to a git repo inside the fake server.
Github fake looks pretty cool. I don't do a lot of web dev so maybe this is not actually an issue... I have some concerns about the stability of the API and having to maintain a mock of it? I definitely think it's worth using but it'd be interesting if github already provides a mock interface to their web API 🤔 That'd be pretty sweet 🙂
Doesn't seem to be the case. I guess we want more than valid API requests (might be worth having a test for this as well to track api deprecation). We want to mock the behavior of creating real pull requests and whatnot. A github mock does seem to be the most reasonable way of doing this.
We desperately need a comprehensive test suite before we can start taking more contributions
The text was updated successfully, but these errors were encountered: