Skip to content
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

Add lots of test cases for parsing+serialization of full posts #745

Closed
nylen opened this issue May 9, 2017 · 1 comment
Closed

Add lots of test cases for parsing+serialization of full posts #745

nylen opened this issue May 9, 2017 · 1 comment
Labels
[Feature] Parsing Related to efforts to improving the parsing of a string of data and converting it into a different f [Type] Task Issues or PRs that have been broken down into an individual action to take

Comments

@nylen
Copy link
Member

nylen commented May 9, 2017

We need to get a bunch of test cases in place for parsing and serialization. Preferably full posts' content that are tested as follows:

  • Raw content
  • List of blocks is verified against an expected value
  • Optionally we can send some redux actions to simulate user changes
  • Serialized to raw content again; ideally this content should all be exactly the same unless the user changed something, but it will take time to get there

Here is one example of a bug we would have caught with an approach like this: #626 (comment)

@nylen nylen added [Type] Task Issues or PRs that have been broken down into an individual action to take [Feature] Parsing Related to efforts to improving the parsing of a string of data and converting it into a different f labels May 9, 2017
@nylen
Copy link
Member Author

nylen commented Aug 1, 2017

Closing; this is mostly done.

@nylen nylen closed this as completed Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Parsing Related to efforts to improving the parsing of a string of data and converting it into a different f [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

No branches or pull requests

1 participant