Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: "mock" backend #1115

Closed
martinmodrak opened this issue Mar 5, 2021 · 1 comment
Closed

Proposal: "mock" backend #1115

martinmodrak opened this issue Mar 5, 2021 · 1 comment
Labels
Milestone

Comments

@martinmodrak
Copy link
Contributor

Doing full integration tests of calls to brm or brm_multiple is currently hard as it requires compiling and fitting actual models. However the multiple backend feature should let us easily implement a "mock" backend for testing that would skip compilation and fitting but still go through all the other codepaths, e.g.:

  • make standata
  • generate Stan code
    • optionally check it for correctness
  • cache results / load results from cache

This arised due to needs to test #1114

@paul-buerkner
Copy link
Owner

That is a great idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants