比方說,我們有這樣的多個測試:爲JBehave設置固定數據的最佳方式測試
Scenario: trader is not alerted below threshold
Given a stock of symbol STK1 and a threshold of 10.0
When the stock is traded at 5.0
Then the alert status should be OFF
但轉折是,任何睾丸都跑了之前所有的「鑑於」安裝有許多工作要做。什麼是最好的方法來做到這一點?