Comments (4)
Something like this for the JVM might work:
(run! #(alter-var-root % (fn [_] nil)) (vals (ns-publics 'aoc.y2018.d01.borkdude)))
from advent-of-cljc.
For CLJS the following might work:
(gobject/remove (goog.getObjectByName (munge (namespace sym))) (munge (name sym)))
from advent-of-cljc.
Under :advanced
namespaces and vars get flattened. For example, with :pseudo-names
true
, aoc.y2018.d05.mfikes/part-2
gets flattened to $aoc$y2018$d05$mfikes$part_2$$
.
The vars themselves still exists as separate objects. So for example the attached tests end up looking like:
$aoc$y2018$d05$mfikes$part_2$$.$cljs$lang$test$
The trick would be to somehow find the vars retaining data. (I don't think there is a way to remove an entire namespace.)
from advent-of-cljc.
Closing because running all the tests is not necessary anymore for comparing test timings.
from advent-of-cljc.
Related Issues (7)
- Turn on instrumentation in optional part of test-diff HOT 1
- Dump scores table to HTML and publish
- Port bash scripts to tools.deps main scripts. HOT 1
- Can't define protocols in test namespaces
- Please don't create a database of inputs (and other issues) HOT 5
- Run all solutions for committed days in diff HOT 1
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 advent-of-cljc.