Displaying 20 results from an estimated 21 matches for "xunit".
Did you mean:
unit
2017 Nov 12
2
create waveform sawtooth
...th waves:
library(tuneR)
sample_rate <- 12000
reverse <- FALSE
mycolors=c("red","orange","yellow","green","cyan","blue","violet","magenta")
plot(sawtooth(110,duration=round(sample_rate/100),samp.rate=sample_rate,xunit="samples")@left,type="l")
freqs <- c(111,112,113,114,115,116,117,118)
for (i in 1:length(freqs)) {
temp <- sine(freqs[i],duration=round(sample_rate/100),samp.rate=sample_rate,xunit="samples")
lines(temp at left,type="l",lty=2,col=mycolors[i])
}...
2017 Nov 12
0
create waveform sawtooth
Ccing the maintainer if the tuneR package.
Looks to me like sawtooth (and square) don't behave as expected when using xunit="samples". Workaround is to use xunit="time" instead:
sawtooth(110,duration=1/100,samp.rate=sample_rate,xunit="time")
I looked at the code but found it to be opaque.
--
Sent from my phone. Please excuse my brevity.
On November 12, 2017 6:15:45 AM PST, Michael Tiema...
2006 Jun 01
1
adding color to autotest output
I was wondering if anyone had a quick an easy way to add color to the
autotest output. I just want a nice green splash somewhere on
success, and red on failure - I miss the Eclipse xUnit plugin''s easy
feedback where I didn''t have to read log output. =)
- rob
--
http://www.robsanheim.com
http://www.seekingalpha.com
http://www.ajaxian.com
2018 Jul 20
2
Marking lit::shtest-format.py unsupported on PS4?, Re: buildbot failure in LLVM on llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast
FWIW, I've seen it fail on some of my commits too, but I don't remember
whether it was on the PS4 bot exclusively or not. Anyway, my understanding
is that this test shouldn't inherently have different behaviour on PS4
specifically, but I could be mistaken. I suspect it's something more
general to do with the configuration of the bot.
James
On 20 July 2018 at 03:52, Justin Bogner
2009 Oct 14
14
spec-ing private methods?
On Wed, Oct 14, 2009 at 5:49 PM, Scott Taylor <scott at railsnewbie.com> wrote:
>
> On Oct 14, 2009, at 3:36 PM, Joaquin Rivera Padron wrote:
>
> hello there,
> how do you tipically spec private methods? The thing is ? have something
> like this:
>
> def some_method
> ?? complex_method + other_complex_methods
> end
>
> private
> def complex_method...
2007 Oct 25
6
Rollbacks, Sqlite3 bug
Okay - so the sqlite bug reported a day or so ago on the list is real
bug. I''m going to file something in the tracker for that...
I also learned that before(:all)...after(:all) is not wrapped in a
transaction, the way before(:each)...after(:each) is. Is there some
reason behind this? Can you not wrap transactions inside transactions?
Scott
2015 Nov 14
3
[lit] RFC: Per test timeout
...y?
* The behaviour of --max-individual-test-time is a little at odds with
the behaviour of --max-time. --max-time will mark unexecuted tests as
UNRESOLVED whereas --max-individual-test-time will mark a test that
ran out of time as TIMEOUT. Is this okay?
* @Chris Matthews. Does the code that emits xunit xml files need to
change in anyway?
* @Daniel Dunbar. If these changes (in some form) end up being
committed would you be happy
to push a new release of lit to PyPy?
--
Dan Liew
PhD Student - Imperial College London
-------------- next part --------------
A non-text attachment was scrubbed......
2007 Sep 04
16
Failure Messages in RSpec
Having used JUnit and Test::Unit, I''m quite used to having the ability to
insert a failure message, which helps when tests fail.
For instance, the example RSpec that is generated for a model class
specifies that the model class is valid. Assuming this were supposed to be
true, and it failed, I''ve now got to duplicate the code in the test in order
to find out why it
2008 May 02
4
spec''ing calls to super (or other Ruby keywords)
Hi there,
How does one spec an invocation of a Ruby keyword, such as super in this
case?
class User < ActiveResource::Base
# faking the ActiveRecord before/after_save observers
def save
super
UserMailer.deliver_activation(self) if recently_activated?
end
end
Does the solution look anything like the following?
describe User do
describe ''#save'' do
it
2006 Aug 28
2
single specs
The spec command has an option to run a single spec. I''m realizing
that I never, ever use this. Does anyone else? If not, I''d like to get
rid of it! It''s one of those things that "seemed like a good idea at
the time", but resulted in a bunch of hack-ish code.
2011 Dec 30
0
testthat 0.6
...test suites or using R CMD
check.
* Can re-run tests automatically as you change your code or tests.
* Displays test progress visually, showing a pass, fail or error for
every? expectation. If you're using the terminal, it'll even colour
the output.?? ??`testthat` draws inspiration from the xUnit family of
testing packages, as well from many of the innovative ruby testing
libraries, like [rspec](http://rspec.info/),
[testy](http://github.com/ahoward/testy),
[bacon](http://github.com/chneukirchen/bacon) and
[cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have
used what I think...
2011 Dec 30
0
testthat 0.6
...test suites or using R CMD
check.
* Can re-run tests automatically as you change your code or tests.
* Displays test progress visually, showing a pass, fail or error for
every? expectation. If you're using the terminal, it'll even colour
the output.?? ??`testthat` draws inspiration from the xUnit family of
testing packages, as well from many of the innovative ruby testing
libraries, like [rspec](http://rspec.info/),
[testy](http://github.com/ahoward/testy),
[bacon](http://github.com/chneukirchen/bacon) and
[cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have
used what I think...
2010 Sep 01
0
testthat: version 0.3
...test suites or using R CMD check.
* Can re-run tests automatically as you change your code or tests.
* Displays test progress visually, showing a pass, fail or error for every
expectation. If you're using the terminal, it'll even colour the output.
`testthat` draws inspiration from the xUnit family of testing
packages, as well from many of the innovative ruby testing libraries,
like [rspec](http://rspec.info/),
[testy](http://github.com/ahoward/testy),
[bacon](http://github.com/chneukirchen/bacon) and
[cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have
used what I think...
2010 Sep 01
0
testthat: version 0.3
...test suites or using R CMD check.
* Can re-run tests automatically as you change your code or tests.
* Displays test progress visually, showing a pass, fail or error for every
expectation. If you're using the terminal, it'll even colour the output.
`testthat` draws inspiration from the xUnit family of testing
packages, as well from many of the innovative ruby testing libraries,
like [rspec](http://rspec.info/),
[testy](http://github.com/ahoward/testy),
[bacon](http://github.com/chneukirchen/bacon) and
[cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have
used what I think...
2009 Jan 31
1
Test Driven Development in R
Hi,
I wonder what kind of interest there is on Test Driven Development (TDD) in R.
Test Driven Development consists of writing the test before the function, and
iteratively build the function until it passes the test.
Python and Ruby (specially Ruby) have very strong test-oriented cultures. In
fact, in Ruby at least the custom is to do TDD and lately Behavior-driven
development (BDD). In BDD,
2006 Mar 05
2
Is Rails getting testing semantics wrong and making things confusing?
...o known as black-box and functional testing, is a way
> of testing and verifying that an application works according to functional,
> non-functional, and other important stakeholder requirements. Acceptance
> tests complement unit and integration tests, which are usually written using
> xUnit frameworks. Acceptance tests can also be written using a programming
> language, but Selenium and similar tools like Fitnesse also support tests
> written using a tool-specific document format.
>
Further more, there are some important rules regarding acceptance tests:
> Acceptance tes...
2013 Mar 13
3
Help me about Test-Unit in Ruby on Rails
I''m using RubyMine for developing RoR and i found in RubyMine have Test
file.But I read in rubyforge http://test-unit.rubyforge.org/ have
Test-Unit for RoR.Could you help me about 2 problem:
- how is different between RubyMine Test-Unit and Test-Unit in rubyforge
- how can i run Test-Unit with Test-Unit in rubyforge(test-unit github:
https://github.com/test-unit/test-unit.git)
2014 Aug 14
3
[LLVMdev] Plans for the Apple supported Darwin buildbot cluster
On 14 August 2014 11:26, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote:
> So you don't want to send it to the standard output. The things that want to parse it expect a file in the filesystem. So if you want the verbose build to be sticking it in a well-known file then I don't have strong objections, but it seems to be conflating two things. We run lit in -q mode in
2007 Apr 28
0
[977] branches/wxruby2/wxwidgets_282/swig/classes/include/wxScrolledWindow.h: Add missing DoPrepareDC method, remove comment cruft
...nbsp    * \param int*
-         * \param int*
-        */
-
</del><span class="cx"> void GetScrollPixelsPerUnit(int* xUnit , int* yUnit ) const;
</span><del>-        /**
-         * \brief
-         * \param int*...
2007 Nov 18
8
helper methods starting with should
Hi all,
As an experiment in playing nice with others, we''ve added the ability
in rspec''s trunk to do this:
class ThingExamples < Spec::ExampleGroup
def should_do_stuff
...
end
end
This is how rspec 0.1 worked, and for people already comfortable with
the classes/methods approach of Test::Unit, it is a more comfortable
entry point to rspec.
For others, however, it