Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.31 KB

DEV-NOTES.md

File metadata and controls

62 lines (46 loc) · 1.31 KB

DEV notes

Instruction for local development of requal server version.

  • Run create_db_users.R to create mock users.
  • Run docker-compose up to start up DB.
  • Run run_dev.R.

Testing

  • shinytest2::record_test("inst/test_app") - starts the test version of the app (defined in app.R which uses a database with empty project tests/test_basic.requal)

  • tests need to be run using devtools::test() (or Build > Test in RStudio)

  • running test app interactively can be done using app <- AppDriver$new(app_dir = "inst/test_app", name = "requaltest", seed = 123, height = 789, width = 1139) and app$view()

Test coverage

Project

  • create new project
  • load project

Documents

  • create document
  • delete document
  • upload document

Codebook

Codes

  • add code
  • merge codes
  • delete code
  • export codebook

Categories

  • add category
  • remove category
  • assign code to category
  • remove code from category

Workdesk

  • select document to code
  • assign code to segment
  • remove code from segment
  • removing code using the modal window when there are multiple codes overlapping

Analysis

  • filter
  • export

Report

About

  • loads

Memos

  • create
  • edit
  • delete
  • export

Users