Chapter 3 Flashcards

1
Q

<p>

| Test-drive development (TDD)</p>

A
<ul>
	<li style="text-align: left;">
		Creating tests before code</li>
	<li style="text-align: left;">
		Red-Green cycle</li>
	<li style="text-align: left;">
		RSpec</li>
</ul>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

<p>

| Red-Green cycle</p>

A
<p style="text-align: center;">
	Write a failing test</p>
<p style="text-align: center;">
	 </p>
<ul>
	<li style="text-align: left;">
		Write the test</li>
	<li style="text-align: left;">
		Check that it fails (RED)</li>
	<li style="text-align: left;">
		Implement the code </li>
	<li style="text-align: left;">
		Check that it passes (GREEN)</li>
</ul>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

<p>

| What is DRY?</p>

A

<p>

| <strong>D</strong>on&#39;t Repeat Yourself</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

<p>

| ERB</p>

A

<p>

| Embedded Ruby</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

<p>

| CSRF</p>

A

<p>

| Cross Site Request Forgery</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

<p>

| Push content to heroku</p>

A

<p>

| git push heroku</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly