Skip to content

issues Search Results · repo:rlmoser99/ruby_rspec_TOP language:Ruby

Filter by

31 results
 (90 ms)

31 results

inrlmoser99/ruby_rspec_TOP (press backspace or delete to remove)

If you have a method that could be private, but it is sending an outgoing command message and needs to be tested, should it be public to be easily tested or private and use send in RSpec to test?
  • rlmoser99
  • Opened 
    on Sep 11, 2020
  • #107

In #ruby-testing I have been told to use instance_variable_set and I have been told that it is a code smell. Is it a code smell when used only in testing? An an example, is it better to add guess as a ...
  • rlmoser99
  • Opened 
    on Sep 9, 2020
  • #106

Recursion methods are much harder to test, than iterative methods. Nothing in these lesson require recursion.
  • rlmoser99
  • Opened 
    on Aug 26, 2020
  • #96

Update the explanations on what methods need to be tested, based on lesson 15 changes.
  • rlmoser99
  • Opened 
    on Aug 23, 2020
  • #93

# In a long test file, it can be helpful to declare variables in each # describe block, to make the tests more readable. When creating another # instance of the random number and/or subject, use a meaningful ...
  • rlmoser99
  • Opened 
    on Aug 23, 2020
  • #91

This is a code smell. Instead, create a new instance with the values that are needed to to test.
  • rlmoser99
  • Opened 
    on Aug 20, 2020
  • #89

Possibly add instance_variable_get, when instance variables do not need a getter method to run correctly. https://www.rubydoc.info/stdlib/core/2.0.0/Object:instance_variable_get
  • rlmoser99
  • Opened 
    on Aug 11, 2020
  • #88

Per timato s convseration with aaron-contreras in Discord on 8/3/20. What is the best way to teach/instruct students to test their Game Script . The lesson to address this issue in this playground is ...
  • rlmoser99
  • Opened 
    on Aug 3, 2020
  • #85
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub