[julia-users] Re: [ANNOUNCE] TestSetExtensions.jl

2016-10-29 Thread pdobacz
Hey Spencer,

I like this! 

I have recently started a testing-related package as well, maybe you've 
noticed (https://github.com/pdobacz/PyTest.jl). It seems that both packages 
could work together and complement quite seamlessly, so I'll definitely 
give yours a try. 

BTW, do you think there is much demand for Julia testing tools?


[julia-users] PyTest.jl - pytest-like testing framework for Julia - work-in-progress

2016-10-15 Thread pdobacz
Hello all!

I have made an attempt to start building a pytest-like testing framework 
for Julia. There is a (quite preliminary) package here: 
https://github.com/pdobacz/PyTest.jl

I intend to go along these lines:
  - follow pytest (http://doc.pytest.org/en/latest/) as closely as 
reasonably possible. Rationale: it is an accomplished framework, which I 
really appreciate using, hence I use it as inspiration and specification, 
to "not reinvent the wheel".
  - stray from pytest only when absolutely necessary, just to remain julian 
and adhere to existing standards
  - remain compatible with Base.Test

What PyTest.jl can do at the current state?
  - define and use fixtures (parametrized fixtures too!) to do 
setup/teardown pytest-style.
  - select a subset of tests to run (simplified "-k" option from pytest)
  - demonstrate being thoroughly tested itself!
  - not too much really, as it is still WIP, but I am going to sketch out a 
roadmap soon

I reach out to you to:
  - hear voices of support and encouragement (well, or criticism) - are 
there any pytest-and-julia-fans like myself?
  - get opinions and guidance - what would you recommend doing next?
  - find julia packages that could use such testing framework - ones that 
have complicated setup/teardown code to be organized and managed. I'd need 
such package to pivot my work in the right direction

(BTW, I am aware of Fixtures.jl, I just decided to stick more closely to 
pytest. Any comments from creators of Fixtures.jl?)


[julia-users] How to track down, why is my precompiled function recompiled?

2015-05-04 Thread pdobacz
I have used userimg.jl to build sysimg including a file with my function, 
which I know takes a long time to compile (i.e. execute the first time). 
This worked for some time and then mysteriously stopped - despite loading 
this sysimg, the first execution of this function takes ages. I assume that 
my sysimg is missing something important for this function to compile 
during sysimg building.

The question is: is there a way to track what is happening on the first 
execution and causing the delay?

The function takes no arguments and accesses no globals (none that I know 
of at least...). It does use other modules but they are included in the 
userimg as well.


Re: [julia-users] Closed variable stops working after modules are reloaded

2015-05-01 Thread pdobacz
Thank you very much for the tips.
The aim of what I am doing is to have syntactic sugar to access a very 
special Dict within a very special function.