Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HomeWork7 Profile & Optimize tests #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

programyan
Copy link

No description provided.

Copy link
Collaborator

@spajic spajic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Очередная хорошая работа 👍


Прочитал наконец полностью документацию к test-prof. Потрогал FactoryDocktor - вещь хорошая, буду смотреть его отчеты и лечить.
Узнал как делать семплирование и профилирование rspec.
Познакомился с parallel_tests, крутой эффект в производительности по времени, но к сожалению получили рандмно падающие тесты и ошибки с неймспейсингом. К сожалению, с таким поведением, врядли удастся затащить его на CI :(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У нас именно с paralel_test по-моему таких проблем не было, но в целом что-то подобное с конфликтами имён было.
Порешали насколько я помню записью имени класса в виде

class Module1::SomeClass

вместо

module Module1
  class SomeClass

или явным указанием полного имени класса вместе с модулями в тех местах, где могут возникнуть неоднозначности

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants