Skip to content

Conversation

@ctsims
Copy link
Member

@ctsims ctsims commented Aug 11, 2017

A bunch of reworks of the testing infrastructure which centralize how syncs and submissions are working.

Submitting forms to the server now works from the CLI, as well as tests, and syncing is now capable of handling significantly more robust outcomes.

Did this to make it possible to test complex sync behaviors to replicate bugs, but long term we should be able to get more aligned on things like what processing paths exist.

Shouldn't pull until we figure out what to do with the replication in here. It shouldn't really be run with the unit tests.

Includes: https://github.com/dimagi/commcare-core/pull/627/files which should be reviewed first just because it's way easier.


import static org.junit.Assert.assertEquals;

/**
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: This is not a proper unit test, but will be run with the unit tests right now. It should get fixed to run only during some sort of integration test cycle.

@amstone326
Copy link
Contributor

@ctsims Is this still relevant / something you want to get merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants