Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、AspectJ と Junit テストの統合に問題があります。
テストスイート内のテストごとに異なるログを取得する必要があります。したがって、新しいテスト ケースがいつ実行され、いつ終了したかをアスペクトで知る必要があります。そのようなポイントカットをどのように定義できますか?
次のポイントカットは私にとってはうまくいきません。一度入力しただけです。
pointcut testIsAboutToBegin() : execution (* *.test(..));