Project

General

Profile

Actions

Idea #13995

open

[Controller] Port "collection update" functional tests from Rails API to controller test suite

Added by Tom Clegg over 6 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Start date:
Due date:
Story points:
-
Release:
Release relationship:
Auto

Description

Port enough tests that we can then move the "update collection" functionality into the controller and be confident the resulting system still works.
  • Rails functional tests
  • Rails integration tests
  • Some permission checks from the Rails unit tests ("only admin can do xyz")

We don't need to port all of the unit tests -- most of that should wait until we know what the units look like in Go. Focus on proper API request handling more than the underlying collection model behavior.

Since these APIs are (for now) implemented by proxying to Rails, the test can't rely on rolling back an entire-test transaction to avoid side effects. (It should be enough to call the "database reset" API in test teardown.)


Related issues 2 (2 open0 closed)

Related to Arvados Epics - Idea #9053: Port API server to GoNewActions
Blocks Arvados - Idea #13997: [Controller] Port "collection update" API from RailsNewActions
Actions #1

Updated by Tom Clegg over 6 years ago

  • Related to Idea #9053: Port API server to Go added
Actions #2

Updated by Tom Clegg over 6 years ago

  • Blocks Idea #13997: [Controller] Port "collection update" API from Rails added
Actions #3

Updated by Peter Amstutz over 3 years ago

  • Target version deleted (To Be Groomed)
Actions #4

Updated by Peter Amstutz almost 2 years ago

  • Release set to 60
Actions #5

Updated by Peter Amstutz 10 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF