Gobierto Data / Integration tests

Open
#2,989 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@entantoencuanto is already working on this.

Since Apr 21, 2020.

Assessment

This issue has not been assessed yet.

Description

gobierto-data

Let's start adding Rails integration tests in data module. For simplicity we'll use Capybara to check all the user scenarios we want to cover.

For the moment we should have at least this:

  • As a user, I visit a dataset and execute a query
  • As a user, I visit a dataset and execute an invalid query
  • As a user, I visit a dataset and execute a query and then another query
  • As a user, I visit a dataset and execute a query that doesn't result results
  • As a user, I visit a dataset and download data in JSON format
  • As a user, I visit a dataset and download data in CSV format
  • As a user, I visit a dataset, create a query and save it
  • As a user, I visit a dataset, create a query and save it, then I update it and save it
  • As a user, I visit a dataset and load an exising query
  • As a user, I visit a dataset, I delete a query
  • As a user, I filter datasets in the sidebar, visit a dataset and execute a query
    ....

Once these tests are setup I'd like we keep creating them as part as the development process

Dominant language
Ruby
Stars
79
Forks
31
Avg merge
2d 1h
Merged PRs (30d)
23

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PopulateTools/gobierto

All issues in PopulateTools/gobierto

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.