статья с описанием - http://habrahabr.ru/post/233243/
Поулчаем список городов http://weather.yandex.ru/static/cities.xml https://pogoda.yandex.ru/static/cities.xml
статья с описанием - http://habrahabr.ru/post/233243/
Поулчаем список городов http://weather.yandex.ru/static/cities.xml https://pogoda.yandex.ru/static/cities.xml
| // Examples showing how to use the specification helpers | |
| // | |
| import akka.actor.ActorSystem | |
| import akka.testkit.{TestKit, ImplicitSender} | |
| import org.scalatest.{WordSpec, BeforeAndAfterAll} | |
| import org.scalatest.matchers.MustMatchers | |
| // Sequentially runs the tests, isolating the Fixture in each test. The Fixture carries the TestKit | |
| // so each test gets its own ActorSystem | |
| class MyAkkaTestSpec extends SequentialAkkaSpecWithIsolatedFixture { |