test-fixture

What are fixtures in programming?

女生的网名这么多〃 提交于 2019-11-29 18:55:37
I heard this term many times before (when talking about programming) but couldn't find any explanation what does it mean. Any good articles or explanations? I didn't find anything worth mentioning. m01 I think you're referring to test fixtures : The purpose of a test fixture is to ensure that there is a well known and fixed environment in which tests are run so that results are repeatable. Some people call this the test context. Examples of fixtures: - Loading a database with a specific, known set of data - Erasing a hard disk and installing a known clean operating system installation -

What are fixtures in programming?

狂风中的少年 提交于 2019-11-28 13:52:27
问题 I heard this term many times before (when talking about programming) but couldn't find any explanation what does it mean. Any good articles or explanations? I didn't find anything worth mentioning. 回答1: I think you're referring to test fixtures: The purpose of a test fixture is to ensure that there is a well known and fixed environment in which tests are run so that results are repeatable. Some people call this the test context. Examples of fixtures: - Loading a database with a specific,