-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
1 addition
and
28 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -46,32 +46,6 @@ Check your email for your login link. | |
Welcome back [email protected] | ||
╔═ test_login_flow/3. log in works with cookies[status] ═╗ | ||
200 OK | ||
╔═ test_login_flow/3. log in works with those cookies ═╗ | ||
<html> | ||
<body> | ||
<h1> | ||
Welcome back [email protected] | ||
</h1> | ||
</body> | ||
</html> | ||
|
||
╔═ test_login_flow/3. log in works with those cookies[md] ═╗ | ||
Welcome back [email protected] | ||
╔═ test_login_flow/3. log in works with those cookies[status] ═╗ | ||
200 OK | ||
╔═ test_login_flow/4. log in blocked without cookies ═╗ | ||
<html> | ||
<body> | ||
<h1> | ||
Welcome back [email protected] | ||
</h1> | ||
</body> | ||
</html> | ||
|
||
╔═ test_login_flow/4. log in blocked without cookies[md] ═╗ | ||
Welcome back [email protected] | ||
╔═ test_login_flow/4. log in blocked without cookies[status] ═╗ | ||
200 OK | ||
╔═ test_login_flow/4. log in fails with fake cookies ═╗ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
This file contains 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 |
---|---|---|
|
@@ -243,7 +243,7 @@ [email protected]|JclThw==;Path=/""") | |
status code: 401""") | ||
``` | ||
|
||
We just wrote a high-level specification of a realistic login flow, and it only took 24 lines of python code — most of which were generated for us, and could be regenerated on a whim if we want to change our copywriting. The [corresponding disk snapshot](https://github.com/diffplug/selfie/blob/main/python/example-pytest-selfie/tests/app_account_test.ss) gives us an exhaustive specification and description of the server's behavior. | ||
We just wrote a high-level specification of a realistic login flow, and it only took 24 lines of python code — most of which were generated for us, and could be regenerated on a whim if we want to change our copywriting. The [corresponding disk snapshot](https://github.com/diffplug/selfie/blob/main/python/example-pytest-selfie/tests/facets_test.ss) gives us an exhaustive specification and description of the server's behavior. | ||
|
||
Didn't think that adopting a bugfixed version of your internationalization lib would cause any changes to your website whatsever? Oops. Don't wade through failed assertions, get a diff in every failure. If you want, regenerate all the snapshots to get a full view of the problem across the whole codebase in your git client. | ||
|
||
|