home.social

#mock — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mock, aggregated by home.social.

  1. Как приручить сервисы-моки

    Материал для тех, кто хочет создавать надежные и масштабируемые моки API-сервисов и любит получать удовольствие от жизни В этой статье поговорим о том, с чего начать, как лучше подойти к разработке сервисов-моков и как упростить себя жизнь при работе с ними Примеры и практические советы, как перейти на новый уровень покрытия тестами, если вы интегрируетесь с внешними системами

    habr.com/ru/articles/1034736/

    #мок #тестирование #бэкенд #разработка #автоматизация_тестирования #автотесты #backend #mock #QA #qa_automation

  2. Mocha v3.1.0 released

    * Format warnings consistently and include source location - github.com/freerange/mocha/pul. Thanks to @issyl0 for the original PR and subsequent feedback.

    mocha.jamesmead.org/file.RELEA

    #ruby #testing #mock #mocking #opensource

  3. Mocha v3.0.2 released

    * Fixes NoMethodError on deprecation warning - broken since v3.0.0 🤦‍♂️
    * Validated support for Ruby v4

    mocha.jamesmead.org/file.RELEA

    #ruby #testing #mock #mocking #opensource

  4. Mocha v3.0.0 released

    Significant changes (see link for details):

    * Enable strict keyword argument matching by default in Ruby >= v3

    * Fix compatibility with Ruby 3.5

    * Freeze string literals

    * Allow keyword arguments to match an expectation that _only_ expects positional arguments

    * Increment assertion count on never-expected invocation

    ⚠️ Fix Mocha-related deprecation warnings against v2.8.2 before upgrading! ⚠️

    mocha.jamesmead.org/file.RELEA

    #ruby #testing #mock #mocking #opensource

  5. Mocha v2.8.2 released

    Improves source location of deprecation warning for `ParameterMatchers` matcher classes.

    rubygems.org/gems/mocha/versio

    #ruby #testing #mock #mocking #opensource

  6. Mocha v2.8.1 released

    Restores unqualified access to parameter matcher classes accidentally removed in v2.8.0 - sorry! Note that unqualified access is deprecated and will be removed in v3.

    rubygems.org/gems/mocha/versio

    #ruby #testing #mock #mocking #opensource

  7. Mocha v3.0.0-rc.2 released

    ✨ Any volunteers to try this out? ✨

    * Fix compatibility with Ruby 3.5 - thanks to @earlopain
    * Add missing quotes to docs for Mocha::ParameterMatchers::Methods#equivalent_uri - thanks to Ben Sherman
    * Increment assertion count on never expected invocation - thanks to @bihi for reporting
    * Remove functionality deprecated in v2.8.0
    * Many internal & tooling improvements - thanks to Nitish Rathi

    rubygems.org/gems/mocha/versio

    #ruby #testing #mock #mocking #opensource

  8. Mocha v2.8.0 released

    * Significant reduction in the number of Mocha constants polluting the test/spec namespace
    * Add deprecations for changes to public API that will land in v3.0.0

    rubygems.org/gems/mocha/versio

    Thanks to @bihi for his help in testing v3.0.0 release candidates which led to many of these changes.

    #ruby #testing #mock #mocking #opensource