Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects

Added convenience method to create test data

Merged robinwilliam.hundt requested to merge convenience_test_data_method into master

I've created a convenience method inside util.factories that that can be used to construct a complete grady instance by passing a big dictionary to the method. At the moment one call to the method with some sample data is hardcoded but using the helper methods inside factories, it is possible to generate big instances with multiple user/submissions/feedback programatically. This should be especially helpful to test the layout and structure of the app under more 'real-life' circumstances.

Edited by robinwilliam.hundt

Merge request reports

Pipeline #6174 passed

Pipeline passed for b734cb49 on convenience_test_data_method

Test coverage 87.00% (2.00%) from 1 job
Approval is optional

Merged by robinwilliam.hundtrobinwilliam.hundt 7 years ago (Dec 17, 2017 6:42pm UTC)

Loading

Pipeline #6176 failed

Pipeline failed for b93c2b45 on master

Test coverage 87.00% (2.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • You need to fix the failed CI pipeline. If there are no objections I would like to enforce pep8 in the future.

  • mentioned in issue #73 (closed)

  • added 1 commit

    • 62fb0bee - Minor Refactor of the gitlab-ci file

    Compare with previous version

  • added 1 commit

    • e56840cb - Minor Refactor of the gitlab-ci file

    Compare with previous version

  • added 1 commit

    • 6594f3de - Fixed a cache misunderstanding

    Compare with previous version

  • added 1 commit

    • 1497ca74 - Slight modification to cache policy

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • a4ec7de3 - Trying to share cache between via key

    Compare with previous version

  • added 1 commit

    • 756b26c4 - Minor Refactor of the gitlab-ci file

    Compare with previous version

  • added 2 commits

    • ce7f4674 - Replacing word based passwords with totally random passwords
    • e380c42f - Merge branch 'remove-dict-words-file' into convenience_test_data_method

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 2 commits

    • ca48aff3 - Added new method to generate test data in util.factories
    • 4c6cd644 - Fixed bugs in make_test_data / deleted tests.data_factories

    Compare with previous version

  • robinwilliam.hundt resolved all discussions

    resolved all discussions

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading