unit-testing
How much memory for unit test suite is ok?
I have ~700 tests with ~1500 assertions, tests are running on sqlite on RAM drive. I run this using phpunit /dir/name, without any additional suite setup.[详细]
2023-04-12 11:30 分类:问答new test causes old tests to break, am I doing this wrong?
I have a unit tests that test if the first name of a baby is not supplied then don\'t save the baby, and another that if the first name is supplied then save should be c开发者_运维知识库alled. I did r[详细]
2023-04-12 10:07 分类:问答How can I check if a particular property setter is called on a Mock object?
F开发者_C百科or the given mock object below, how can I check if the WashCar(ICar car) method is setting the TiresWashed property?[详细]
2023-04-12 09:54 分类:问答Why does the "each" iterator method break rspec?
Background I\'m attempting to test my models. app/models/user.rb class User < ActiveRecord::Base has_many :payor_transactions, class_name: \'Transaction\', inverse_of: :payor, foreign_key: :pay[详细]
2023-04-12 08:05 分类:问答Testing jquery thats depend on version with Js-test.driver
im new to js-test-driver and have some questions how can i test this jquery event? ex verify that the event runs Search() if letter > 9[详细]
2023-04-12 06:59 分类:问答"Introduced global variable(s) _firebug" in QUnit tests
I am using Q开发者_开发问答Unit to perform various simple tests on my website. One of the tests is creating a dialog, showing it and then closing it. The test runs fine, but when run on Firefox with F[详细]
2023-04-12 06:55 分类:问答Microsoft::VisualStudio::TestTools::UnitTesting to test c++ projects
Can I use Microsoft::VisualStudio::TestTools::UnitTesting to test C++ code? I mean I already have an existing C++ project which 开发者_运维百科doesn\'t use .NET.[详细]
2023-04-12 05:48 分类:问答Grails: Added methods during runtime available in tests?
I am trying to test a controller which, in particular, is using java.io.File and some of the methods/attributes injected by Grails during runtime, like:[详细]
2023-04-12 05:00 分类:问答Moq + Unit Testing - System.Reflection.TargetParameterCountException: Parameter count mismatch
I\'m tring to use a lambda with a multiple-params function but Moq throws this exception at runtime when I attempt to call the mock.Object.Convert(value, null, null, null); line.[详细]
2023-04-12 04:15 分类:问答How can I check a method is called with a specific parameter on a mock object?
Can you help to achieve the goal I mentioned in the commented block below to complete sample unit test?[详细]
2023-04-12 03:32 分类:问答