arypurnomoz / julietest.jl Goto Github PK
View Code? Open in Web Editor NEWA Julia testing framework inspired by javascript's Mocha
Home Page: https://github.com/arypurnomoz/JulieTest.jl/wiki
License: Other
A Julia testing framework inspired by javascript's Mocha
Home Page: https://github.com/arypurnomoz/JulieTest.jl/wiki
License: Other
PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.
Tests pass.
Package doesn't load.
Tests pass.
means that PackageEvaluator found the tests for your package, executed them, and they all passed.
Package doesn't load.
means that PackageEvaluator did not find tests for your package. Additionally, trying to load your package with using
failed.
This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.
Test log:
>>> 'Pkg.add("JulieTest")' log
cp: cannot create regular file a/usr/local/bin/juliea: Permission denied
INFO: Cloning cache of JulieTest from git://github.com/arypurnomoz/JulieTest.jl.git
INFO: Installing JulieTest v0.0.2
INFO: Building JulieTest
==============================[ ERROR: JulieTest ]==============================
failed process: Process(`cp -f /home/idunning/pkgtest/.julia/v0.3/JulieTest/julie /usr/local/bin/julie`, ProcessExited(1)) [1]
while loading /home/idunning/pkgtest/.julia/v0.3/JulieTest/deps/build.jl, in expression starting on line 1
================================================================================
================================[ BUILD ERRORS ]================================
WARNING: JulieTest had build errors.
- packages with build errors remain installed in /home/idunning/pkgtest/.julia/v0.3
- build a package and all its dependencies with `Pkg.build(pkg)`
- build a single package by running its `deps/build.jl` script
================================================================================
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of JulieTest
INFO: Use `Pkg.update()` to get the latest versions of your packages
>>> 'using JulieTest' log
Julia Version 0.3.1-pre+26
Commit 91ba8a9 (2014-08-26 16:55 UTC)
Platform Info:
System: Linux (x86_64-unknown-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
... but failing due to build errors.
>>> test log
no tests to run
>>> end of log
Lets say I have these files:
# src/MyModule.jl
module MyModule
export foo
function foo(x)
# code
end
end
# test/MyModule_test.jl
using MyModule.jl
usiing JulieTest
describe("description") do
# test code ...
If I run julie start
everything goes as expected, but if I modify src/MyModule.jl
, it does not see the updates. How could I fix that?
As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.
To transition to the new Pkg system using Project.toml
, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.
If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.
Not everybody can and wants to install code system wide and therefore adding a package should also work without sudo. Instead I would pack the julie-command into a bin-folder in the package and let the user manipulate PATH. The latter could be done only when needed.
And: there is no sudo on windows.
Hi,
I'm playing around with your JulieTest. I'm getting this warning when executing a simple run. I like this package but it seems inactive.
$ julia testConfig.jl --single
WARNING: tty_cols() is deprecated, use tty_size() instead
in line at /Users/ghachey/.julia/v0.3/JulieTest/src/watch.jl:30
in surround at /Users/ghachey/.julia/v0.3/JulieTest/src/watch.jl:34
in julieTest at /Users/ghachey/.julia/v0.3/JulieTest/src/watch.jl:111
in include at boot.jl:245
in include_from_node1 at loading.jl:128
in process_options at client.jl:285
in _start at client.jl:354
WARNING: tty_cols() is deprecated, use tty_size() instead
in line at /Users/ghachey/.julia/v0.3/JulieTest/src/watch.jl:30
in surround at /Users/ghachey/.julia/v0.3/JulieTest/src/watch.jl:34
in julieTest at /Users/ghachey/.julia/v0.3/JulieTest/src/watch.jl:111
in include at boot.jl:245
in include_from_node1 at loading.jl:128
in process_options at client.jl:285
in _start at client.jl:354
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.