Questions tagged [specs]

The specs is a software's design and the features specification, you can through it to know the software's specifications. General, the open source code will have specs.

If you want to become a contributor for open source lib, through specs you can know how to design the lib, you can write standard code for it.

108 questions
2
votes
1 answer

Comparing objects using Jasmine Specs

Hey so I was playing around with Jasmine today and I wrote this simple Person object function Person() {} Person.prototype.name = "Alex"; Person.prototype.age = 24; Here's my Spec test describe("Person", function() { var someone = new…
Alex Burgos
  • 179
  • 4
  • 15
2
votes
3 answers

How to specify image for the Settings app in iPhone app

How do I specify the image for the Setting in the iPhone for my iPhone app? What are the requirements for the images?
bparanj
  • 433
  • 2
  • 6
  • 15
2
votes
1 answer

How to eliminate stack trace when running Specs through SBT?

I have a Scala project that I'm using SBT and Specs on. When I run sbt test, it correctly runs my tests, but a failing test results in a huge stack trace. [info] == caravan.DependenciesSpec == [info] specifies [info] x Status should mirror…
Kevin Peterson
  • 7,189
  • 5
  • 36
  • 43
2
votes
1 answer

scala specs don't exit when testing actors

I'm trying to test some actors using scala specs. I run the test in IDEA or Maven (as junit) and it does not exit. Looking at the code, my test finished, but some internal threads (scheduler) are hanging around. How can I make the test finish?
IttayD
  • 28,271
  • 28
  • 124
  • 178
2
votes
1 answer

How to delete some extra folder using rpm

I am using Fedora 10, I have created an rpm file for my software. It removes all the files from the installed directory. If i use yum remove command or rpm -e command. but after installation my application automatically creates some extra folders in…
Sunil Kumar Sahoo
  • 53,011
  • 55
  • 178
  • 243
2
votes
1 answer

Repository of "standard" BDD specs

Do you know of any resources or libraries of BDD specs? For example, almost every web app has a login process. Some "standard" features might be handling of forgotten passwords, reset password, etc. I'm thinking of something like a code snippet…
y0mbo
  • 4,582
  • 6
  • 41
  • 45
2
votes
1 answer

Decoding gcc specs file line

I have a problem with the implicit LIBRARY_PATH modification of g++ between two versions (g++ -v gives this info). I set the LIBRARY_PATH to a single local directory where I have custom libraries. However, it turned out that only one version of the…
Shadow
  • 1,042
  • 2
  • 15
  • 23
1
vote
1 answer

How to mock/stub a method local dependency with Mockito?

Let's say that I have this: class Dependency1 { def methodD1 { } } class Dependency2 { val dependency1 = new Dependency1 } def myMethod() { val a = new Dependency1 // I want to be able to stub this val b =…
jmdev
  • 729
  • 1
  • 6
  • 13
1
vote
1 answer

How to instruct sbt 0.11.x which source files contain tests

I'm new to Scala, SBT and Specs. I have created a simple specification using specs and like to run it via SBT with the "test" task. When I execute that task, I get the following error: > test [info] No tests to run for test:test [success] Total…
BumbleGee
  • 2,031
  • 3
  • 18
  • 18
1
vote
1 answer

Fragment Evaluation Error

Can someone tell me what "Fragment evaluation error" means, or where I might look for solutions? I sometimes (but not always) get lots of these errors (without changing my code): [error] ! Fragment evaluation error [error] ThrowableException:…
brandon
  • 675
  • 6
  • 10
1
vote
0 answers

How to keep the branches of a plan in bamboo specs?

I use bamboo specs to backup my plans in bamboo. However, if I remove one plan and restore it back, all the branches created for this plan are missing. I tried to use this API endpoint Enable specs for branches but it does not seem to do any…
vsergi
  • 705
  • 1
  • 6
  • 16
1
vote
3 answers

Scala, Specs2, Mockito and null return values

I'm trying to test-drive some Scala code using Specs2 and Mockito. I'm relatively new to all three, and having difficulty with the mocked methods returning null. In the following (transcribed with some name changes) "My Component's process(File)"…
Don Roby
  • 40,677
  • 6
  • 91
  • 113
1
vote
0 answers

Rswag specs failing for rspec

I am having a very strange issue while documenting the APIs with rswag. I have 15 rswag API documents that has been tested and working fine. But when I run the Rspec for login spec to see If it works or not. It throws an error saying invalid…
1
vote
0 answers

How can I search for another entity inside a Specs system?

I've been playing around with Rust by following along with Roguelike Tutorial, and have started to branch out a bit in hopes of creating some kind of nature simulation. In my simple POC, I'm trying to have multiple "Creatures" wandering the map…
AwoeDace
  • 157
  • 2
  • 7
1
vote
0 answers

It is possible to open new window with navigation bar and tabs?

I try to open a new window in js with this function window.open("myurl", "_blank", "toolbar=yes,location=yes,menubar=yes"); It's work, myurl is in a new window but the nav arrows and the tabs bar are not displayed Is is a restriction of browsers…
Antoine D
  • 11
  • 3