0

アーキタイプ 'thucydides-jbehave-archetype' から標準のデモ プロジェクトを実行しようとしています。Windows 7 マシンでは正常に動作していますが、Windows 8 マシンではブラウザがまったく開きません。別のマシンの Firefox と chrome でうまく動作する同じプロジェクトが、Windows 8 マシンでは失敗しています。Thucydides レポートが正常に生成され、'easyb' アーキタイプからのデモ プロジェクトも正常に動作していることに注意してください (そしてブラウザーを起動します)。

コンソールからのスナップショットは次のとおりです。

TEST STARTED: Looking up the definition of 'blank'
--------------------------------------------------------------------
Scenario: Looking up the definition of 'blank'
Given the user is on the Wikionary home page (PENDING)
When the user looks up the definition of the word '' (PENDING)
Then they should see the definition 'A common, round fruit produced by the tree Malus domestica, cultivated in temperate climates.' (PENDING)
@Given("the user is on the Wikionary home page")
@Pending
public void givenTheUserIsOnTheWikionaryHomePage() {
  // PENDING
}

@When("the user looks up the definition of the word ''")
@Pending
public void whenTheUserLooksUpTheDefinitionOfTheWord() {
  // PENDING
}

上記の手順は完全に実装されていることに注意してください。

ここに私の環境の詳細があります:- OS: Windows 8 IDE: Eclipse Juno Maven ランタイム: apache-maven-3.2.1 Java バージョン: 1.7

4

1 に答える 1

0

解決策を見つけました。この些細なことで、私は眠れぬ夜を過ごしました。

Windows では、プロジェクトの絶対パスにスペースが含まれていないことを確認してください。

スペースとその作業を削除しました:-)

于 2014-04-22T17:59:50.260 に答える