Comments (5)
Thanks for your interest! This is a complex piece of software with many parts, so I've been hesitant to spend time on this unless there was interest in it. So if this worked you would use it? Do you know any others that would?
So the package doesn't work quite yet as a normal package would with exported functions, but you can run that workflow stuff in the readme https://github.com/ropensci/mutant#current-workflow if you clone the repo and then load all functions, e.g., pkgload::load_all()
in the dir for mutant on your machine. Of course use a path to a different package you have on your machine rather than randgeo
. That workflow at least demonstrates all the basic parts of mapping a package's functions, mutating functions, re-writing a package, and running the test suite of the mutated pkg.
from mutant.
@sckott, thank you for quickly answering. Yes, I would very much like to use this package. My team is trying to improve our overall test quality. We do unit testing through testthat
and use lintr
for style. On top of that, we use covr
for our CI. However, we recently decided to try for unit test mutations, but couldn't find any package that could do that other than this one.
I'm pretty confident that if this package gets a bit more sophisticated it would certainly receive praise/attention from the R community. Considering that most R users are not exactly developers or actually use R for a living, such improvement would help those that are and actually expand the language's "frontiers", so to speak :) .
from mutant.
Glad to hear there's interest. Sounds like I may be able to ping you when there's something to test
from mutant.
Might be off topic, but you can ping me when there's something to test too.
from mutant.
@jkamins7 would be happy to do so, but i'm changing jobs, so very very unlikely to work on this at all moving forward. If anyone wants to pick this project up let me know, or create your own elsewhere
from mutant.
Related Issues (14)
- pkg API
- mapping tests to code lines HOT 1
- libs in other langs HOT 9
- Mutant reporting improvements HOT 1
- `R CMD check` fails to find `pkgapi` in R 4.0 HOT 3
- eventually edit wikipedia page if this pkg is a thing
- [Security] Workflow R-CMD-check.yaml is using vulnerable action actions/checkout HOT 1
- Using monkey patching/mocking for testing mutations HOT 3
- queueing options HOT 2
- starting R sessions
- Making pkg AST's
- Install fail HOT 2
- write_mutated_pkg: replacing lines instead of writing new lines? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mutant.