Thứ Hai, 28 tháng 5, 2018

Waching daily May 29 2018

So you've finally, after weeks and weeks maybe months of planning and hard work, you've

stepped foot in Canada, visa in hand and the whole country at your fingertips.

You've made it. You've moved here. Now what?.. That was me 15 months ago and now

I'm here to help you make those crucial first steps after you've touched down

and gotten your visa. We're gonna go through... everything - From the important

first things to do just when you arrive, what phone carrier to go with, apartments,

banks, driver's license, learning languages and how to get a job. Some of

these things are a bit more complicated than if you were just a Canadian citizen

like the driver's license, banks and language parts, so this video will hit all

the points an expat needs to know. If you're just beginning your journey and

you haven't gotten your working holiday visa yet, I've explained every little

detail to do with that in part one of this series right... here (top right) so give that a

watch first and come back. This is How to Move to Canada part two, so if you found

this video helpful hit subscribe for more guides coming up, and if you have

any questions feel free to ask them in the comments section down below, or check

out the Moving2Canada Facebook group I've linked in the description. They'll

probably be able to answer your questions faster than I can. Again just

disclaiming that any recommendations in this video are based on my own personal

experience, and this video isn't sponsored in any way. And I wish it was. (Who wouldn't)

so let's go. Social Insurance Number (SIN) The absolute number one priority after touching

down in Canada is getting your social insurance number you will need this for

anything remotely important like applying for a bank getting a phone

number etc so you need to get this as soon as possible so you're able to go do

everything else you're able to get your social insurance number at any Service

Canada office arriving in Toronto it's right at the airport why I said just

start the immigration and if you come in a Montreal Montreal has them in the city

I've linked a site in the description that will help you find the nearest one

Museum when you do go there make sure to bring your passport and your wife

Spanish as these will be your quiet no photocopies allowed phone how are you

gonna find an apartment without a number to reach you now to cual your

expectations right from the get-go Canadian phone plans are garbage

horrendous absolute bollocks whole telecom industry in Canada is

monopolized by the big three who don't compete amongst themselves so they can

keep prices hi they're all ridiculously expensive

they give you very little for your money and the prices vary from province to

province for example Ontario and BC are quite pricey with Quebec being more

affordable and Saskatchewan being very very cheap this is because those

provinces have actual competition with Saskatchewan having a province brawn

telecom called sasktel if you decided to move to Saskatchewan then definitely go

with them Sasuke for everywhere else don't even bother checking the p3 del

Rodgers Telus them and also avoid Fido at all Kong

they are the worst I went with them when I was on exchange here four years ago

and they were awful I paid $50 plus tax for one gigabyte won it was nothing and

when I tried to cancel my month-to-month plan at the end of April they ended up

canceling my plan a day before they said they were going to and then also

proceeded to try and charge me for the entire month of May when they won even

dreamy service avoid like the place okay so actual options definitely bring

your own phone and stick to simile montemagno plans it doesn't lock you in

and lets you keep costs down I recommend going with Kudo I've been with them

since I arrived the service is good and I currently pay $49 plus tax so total 56

dollars for six gigabytes of data unlimited calls and unlimited tax

including international it's been more than enough for me and if you use my

referral code right here you'll get $50 off your next bill there are cheaper

subsidiary of Telus so they have good coverage and they're available pretty

much all over Canada for Ontario there's also freedom mobile which is another

low-cost carry so check that out and pair and see what works for you yeah

it's way too nice to be in here doing this video let's go outside let's go

outside

this is Bella this is much better I can do this alright let's go let's continue

so apartments this is a topic so massive I'm gonna do a whole video dedicated to

the subject but the main site you needed no rentals is qgg CA ki j IJ a dot CA

this is basically the gum tree of Canada for any Australians watching or the

Craigslist of Canada for an Americans Craigslist also exists and is worth

checking out as well but most people put all this stuff on Kijiji this should

also be apartment and house made Facebook groups for your city I've

linked the Montreal ones down below now those are places where you can find

apartments but what about inspecting them and deciding whether to move in let

me give you just a couple bits of advice based on my own personal experience ah

DC or her shows a apartments our ground floor apartments I personally avoid

these as if you live in a built-up areas such as Montreal where housing is

densely packed in every building is at least three stories basically no light

enters the apartment apart from the rooms with south-facing windows I've

been known for two months and I can confirm the common areas were almost

completely dark it's dark gloomy and depressing avoid it the same goes the

basement and half basement apartments before moving here I didn't even know

these existed and still don't know why they exist why why would you do this to

yourself the same goes for bedrooms with no windows don't do it don't do it we

actually do have a windowless bedroom in our apartment we just use this for

storage but imagine sleeping in here you don't know when to wake up it's soul

destroying I did it not in this room but in like another apartment for two months

don't do it do not do it I thought I could handle it for a few months but I

couldn't sure there are huge savings on our DC apartments compared to

higher-level apartments but the effect it has on your well-being insanity is

not worth it especially for windowless bedroom stick two bedrooms with windows

and upper level apartments ideally third floor if you live in Montreal because as

you see we get roof access and it's dope

sunsets from here are pretty sweet and just uh I know it's a nice thing to have

roof access this whole white thing is something I've never had to deal with in

Australia because even at ground level there's like everywhere but in Canada

light becomes precious in the winter and the price premium is what if you're in

Montreal it's still dirt cheap anyway you can save money in other ways other

things worth mentioning electricity is called hydro in Canada so ask if that's

included or not as bills can vary dramatically between summer and winter

which can be dollars and cents in the summer and up to hundreds and hundreds

of dollars in the winter this has been nice there's been pretty nice don't you

think I needed this let's continue this

downstairs okay so moving on thanks this was a very frustrating process when I

did it so another crappy thing about Canada it is the norm to charge a ten to

twenty dollar monthly fee for a debit account yes the banks charge you money

to access your own money this is a great country isn't that great also as a new

arrival you're automatically ineligible for pretty much every bank account in

Canada don't even think about going to tangerine I tried and it was way too

much of a hassle and to meet the requirements it'll cost you more than

any fees you'll save what you need to get is something called a newcomers to

Canada account these are accounts where the general requirements such as a

Canadian driver's license work history bank check are waived

and you get a debit account for free for the first year after that you need a

minimum balance of like three to four thousand dollars to waive the fee a

bunch of different banks often newcomer accounts but the only month worth

looking at are the ones from the Bank of Montreal BMO and CIBC they both offer

their debit accounts for free for one year and Bank of Montreal also offers a

credit card where you can get four percent cashback for the first four

months up to $125 and then it's one percent cashback after that it's not

worth going with any of the airline points airline miles credit cards in

Canada as they don't offer good value compared to the cashback ones

transferring your money from home to Canada so I'm assuming you didn't

I hope you didn't bring all your cash in your luggage on your way to Canada and

most your money is still in your home country in your bank account and you a

transfer that without losing too much in fees so the best method of doing this

will vary from country to country but for Australians what I recommend is

applying for a city bank plus debit card before you leave Australia this is the

ultimate debit card for travelling as there are no fees and you get an

exchange rate very close to the actual exchange rates I have been using this

card for all of my travels for the past four years and haven't had any issues

with the bank and when you do have issue say if you lose your card or anything

the customer service is fantastic super quick and very helpful one time an ATM

ate my card and they send me one within a day or two super quick and I'm not

even paying any fees for this service it's great when you want to move your

money into Canada or when you're just traveling in general you transfer the

money from your Australian bank account to the city bank account and then take

that Citibank card go to an ATM in Canada withdraw the cash from the ATM

and then deposit the cash into your Canadian bank account all you pay is the

withdrawal fee from the ATM and that's it the best way to get the most money

from you money other options I've had recommended quite a lot for other

countries include transferwise when you do this process it also helps quite a

lot to keep an eye on the fluctuating exchange rates I generally found that

the exchange rate would always spike on a certain day of the week for me that

was Tuesday I don't know if that's an actual thing or if it changed but that

was what I experienced driver's license so if you have a driver's license from

your home country and it's recognised in Canada link below you'll be able to

drive on it for the first six months without doing anything at all after that

you'll have to apply for a Canadian driver's licence or exchange your arms

the first thing to look for is if your country has an exchange agreement in

place with the province you're moving to yes that's right not with Canada but the

province it's best to treat each province as its own separate country

just for your own sanity or Australians we have an exchange agreement with

Ontario but not with Quebec great right makes so much sense so provided you have

an Ontarian address you can exchange your

Australian license for Ontarians if you're someone who paid for a 10-year

license back home don't worry you'll get it back after you leave or you can

request a new one without paying for it again when you write back home if you're

in a province with an exchange agreement with your country you'll have to do a

driving test links for those below languages in mostly Canada

you only need to speak English to get a job in Quebec you'll need to be at least

at professional watch proficiency / bilingual for pretty much any job

especially graduate roles only exceptions being in IT and the video /

entertainment industry if you can find work somewhere you're eligible for

heavily discounted French language courses at these french language

learning centers around Montreal one of them being the Santos on TV which gives

you a two month intensive French language course for $70 very cheap for

both languages the most important thing is your speaking ability and for that I

highly recommend going to language meetups

this is a great way to practice and also to meet some new friends mundo lingo is

one of the most well known language meetups with meetups in Montreal and

Toronto although it is basically a networking event it's great for practice

if you're just starting out and just want to practice basic conversation it's

basically a language meetup at a bar well it's good for basic practice after

a while you might find yourself repeating the same stuff over and over

and over again bonds your TV on dude let's get you paid for car light well

Quattro atom energy I'm already at it says the rides that there are and while

that's good for basic just networking it becomes less practice and more rote

memorization and repetition once you're at that stage I highly recommend going

to language meetups in your area like the ones on meetup calm I found them to

be way better for actually testing your skills once you get to a higher level as

I've gone into really deep conversations that have challenged me linguistically a

lot more often at these events compared to mundo lingo which has a lot of people

who just do the rounds with kind of like shallow surface level conversation it's

also a lot more quiet than a noisy bar it helps comprehension

ate a lot jobs so this is something I'm struggling with at the moment check my

previous video basically you can try to find a graduate job in Canada

it's gonna be extremely extremely difficult HR will routinely throw away

your CV because your degree is in Canadian and you have no Canadian work

experience even though your degree might be from a better University than the

ones you're competing with and your overseas experience is valuable just to

cut down on the amount of applications to go through sounds great right

that isn't discrimination at all Canada is so nice

the main websites to go through are indeed see a job you like oh is quite

good monster and Linkedin angellist is also good if you're looking for startups

but really if you want a job in your field it's easier just to know somebody

this is the same in pretty much every country on planet earth but in a foreign

country you have everything going against you so you're gonna need to pull

every single string to make this work you need to work hard and try and meet

as many people as you can as soon as you touch down right off the bat make

friends with your roommates friends if you have any definitely have roommates

if you move to a foreign country go to meetups like mundo lingo others Omnicom

and also go on to LinkedIn find the companies you want to work at and

personally reach out to employees not HR but actual employees and awesome art for

a coffee do whatever you can to grow your network and say yes to every

opportunity that comes your way why not to get yourself killed of course but

saying yes to every opportunity helps a lot when you're new to a country this

goes for jobs but also life in general one very important note with job

applications if you're here on a working holiday visa do not mention it on your

job application the red flag all they need to know if they ask is that you're

legally allowed to work in Canada just say you move to Canada and in any

interview say you intend to stay here I actually do intend to stay here so it's

not issue for me but if you're on sudden just keep your lips sealed and don't

mention it most employers won't be willing to hire and take the time to

train you if you're gonna leave up to two years unless if you want just a

service retail job or work in the ski fields this is an extremely uphill

battle and you're gonna need to do everything right to make it work last

thing permanent residency this is something that you'll need to do if you

intend to stay in kind of beyond the length of your working holiday visa if

you have enough points for Express entry through thing

like a full-time job and a university degree process can be as quick as six

months I will do a video on this in detail after I've done it myself just

like the honeymoon for Canada part one oh now I've just got a link in the

description for the official info well that's it hopefully you're ready to get

your life started in Canada it's that like button if you found this video

helpful I'll be doing more in depth videos on things like finding an

apartment in Montreal which is really complicated and weird and confusing so

I'll break it down how to get a job and the permanent residency process from A

to Z so definitely subscribe so you don't miss out on those by the end of it

I want this town 11 everything you need to know about moving in Canada and I

think I'm getting that I'm making progress let me know your thoughts and

questions in the comments down below and I'll see you in the next video there's

one last thing before you go I'd like to announce that I finally started selling

photo prints it's something I've been wanting to do for ages but I wanted to

make sure I got it right I had found a photo lab that I'm super happy with and

I'm honestly so stoked about how well these turned out it's so sharp and the

colors are so accurate there's gonna be over 20 different prints off the sale

shipping internationally in both 8 by 12 inch this size and 12 by 18 inch so

basically a 4 and a 3 in your choice of either Mac or metallic archival photo

paper I personally love the metallic just because of how rich and how deep

the colors and the blacks are as soon as I pull this out of the case and saw it

for the first time I was just like yes yes a hundred times yes I put a ton of

time into these videos I think the loss how to move to Canada video took over

fifty nine hours yeah a ton of time so if there's any photos on the Shonda Co

slash store that take your fancy I would really appreciate the support thank you

For more infomation >> How to Start Your Life in Canada: Banks, Apartments, Phone, Jobs – Complete Guide for Newcomers - Duration: 17:28.

-------------------------------------------

Between - EP6 | Do You Like The Job? [ENG SUB] - Duration: 1:53.

What happened, little secretary?

Crying because your boss scolded you?

I'm not.

Do you think I'm blind?

Tell me.

What happened this time?

It's my mom.

Why do parents only care about salary?

If you find a new job, they ask "how much is your monthly salary?"

If it's too little, they will ask you to change jobs.

It seems like only a high salary makes a job good.

A low salary means that it's worthless.

Why didn't anyone ask me...

I like this job or not?

Little secretary

Are you happy doing your job?

Very happy.

Even though the salary is low, I really like my job.

The feeling of a group of people doing one thing together is very good.

But whenever I think of my mom looking down on my job, I feel very sad.

For more infomation >> Between - EP6 | Do You Like The Job? [ENG SUB] - Duration: 1:53.

-------------------------------------------

911 Help Now Emergency Communicator Pendant Bundle - Duration: 14:55.

For more infomation >> 911 Help Now Emergency Communicator Pendant Bundle - Duration: 14:55.

-------------------------------------------

5 Quick Ways to Look More Stylish and Put Together | Fashion for Women over 40 - Duration: 4:12.

Hi guys! We're back today with some helpful tips and tricks for all those

busy moms out there who want to look more stylish but don't have a whole lot

of time to put in. Which is pretty much all the time. Exactly. If you're one of

those moms who maybe hasn't been really putting yourself on the priority list

and kind of taking care of yourself. These are gonna be some five quick and

easy tips to kind of get you back into the game and feeling better and more

confident about yourself. So first things first, you got to start at the top. You're

not going to look stylish and pulled together if your hair looks like a hot

mess and these are two of my best friends. As a matter of fact I use them

this morning, dry shampoo. So we've got the powder dry shampoo and the spray dry

shampoo. This one I feel like is really good at soaking up that oil. And this one

helps to give you a little bit more texture. So this is great if you want to

freshen up that day two, day three, day old blow-dried hair. Another trick is

adding some curls. Another trick I use quite regularly. Or slicking your hair

back in a nice sleek ponytail. But whatever you do, the hair has gotta look

good because if the hair doesn't look good nothing's gonna look good. The second tip

that we have for you is tucking in your shirt. Now that's something I definitely

won't ever go out of the house without doing. I really feel like it helps me.

Multiple ways to tuck in your shirt but the one that we love to do personally is

the little front tuck. Kind of helps to conceal any of those areas that you're

feeling a little unconfident about. A little muffin top. It really helps to kind

of define your waist to make you look a lot more polished.

Number three is add a belt. So after you've done your full tuck or your half tuck of

your shirt and you've added some definition to your waist. A belt is

really gonna take it up a notch and add a little something to your look. So just

throwing on a simple belt, a statement belt, will really add a little bit of

finish a little bit of polish. It's just a great accessory that not a lot of

people utilize but it can really change up a look. I think it also helps to

define the waist. Absolutely. Tip number four is adding an

accessory. So that can either be a scarf or a necklace or maybe some chandelier

earrings or some bracelets. It's those little details to your outfit that

really helped to kind of pull everything together and add more of a polished look.

Absolutely even a simple t-shirt is gonna look a lot more stylish with a

scarf or a statement necklace. So a standout accessory is a good one. Number

five is to choose a simple classic shoe, something that's going to look more

streamlined and polished with your outfit. So instead of this, something like

this. A classic ballerina flat in a neutral shade is really going to be

versatile enough to wear with any of your looks and it's really going to make

you look a lot more polished than wearing your athletic sneakers with your

outfit. Yeah I don't really miss the opportunity to add an interesting shoe

to your outfit. It really just kind of helps to add a detail that sometimes gets very

easily overlooked because you're so quickly just trying to run out the door.

Absolutely and this can be just as comfortable as a gym sneaker. So as long

as you're choosing the right shoe with some comfort and padding on it, it's

really not any more difficult than just throwing on your sneakers. And it

definitely changes up your look. Makes you look a lot more stylish and a lot

more polished. We hope these five simple tips will help

you when you're short on time and trying to get out of the door. So that way

instead of looking like this.

You could be looking like this.

So if you liked this video please give it a thumbs up and don't forget to subscribe and join

the Mommies Makeup and Moscato family. And we'll see you next week! Bye!

For more infomation >> 5 Quick Ways to Look More Stylish and Put Together | Fashion for Women over 40 - Duration: 4:12.

-------------------------------------------

心理測試:你的手指長度,決定了你的性格 - Duration: 4:42.

For more infomation >> 心理測試:你的手指長度,決定了你的性格 - Duration: 4:42.

-------------------------------------------

下半年橫財遍地,數錢數到懵,翻身暴富的生肖! - Duration: 9:41.

For more infomation >> 下半年橫財遍地,數錢數到懵,翻身暴富的生肖! - Duration: 9:41.

-------------------------------------------

Die dümmsten Süßigkeiten der Welt – The most stupid candy in the world | German with English subs - Duration: 10:07.

Ok, let's go. We will check out the most stupid candy in the world.

This episode is a bit tongue-in-cheek.

Nevertheless, I got 6 items here that can barely be surpassed in their own special way.

Let's just begin! The first item is...

...a piña colada lollipop with worm... mealworm.

In general, the idea is good. They also had like a green apple flavor. Apple and worm is very thematic and therefore ok.

I have definitively seen that combination before.

But why should I have a worm in my piña colada?

I have never tried worms before and actually I am quite curious how they taste like.

Let's unpack it.

And there it is, quite big.

I will start and I will be back when I can show you the worm.

Ok, here we got the worm. Looks pretty cool.

The flavor of the piña colada lollipop is very good.

Definitively, piña colada as you know it.

And I will just try to bite off a piece of the worm. Let's go!

Very crunchy.

Not a lot of flavor.

But there is a flavor that I know.

Not very pleasant... but... yeah

The flavors don't really match. Maybe with something salty it would be better.

But there is a flavor that I know, but I can't quite place it at the moment. Maybe I will remember later...

The piña colada part is very good, the worm mediocre or less.

In total, I would give the lollipop:

41 points.

Ok, we will continue with this one here...

Camel balls.

Quite expllicit picture.

This is extra sour bubble gum.

And I just have to ask: how did they come up with such an idea?

This is how they look like... unpacked...

They look pretty cool with the interior part. Let's see!

The flavor is pretty good.

It might be cherry.

But they are surely not sour whatsoever.

Disappointing.

Flavorwise not bad, but not sour for me.

Well, I would give them:

46 points.

Next up we have unicorn poop.

I guess the target group is age 3 - 5.

But ok, why not?

Again the question: how do you come up with such an idea?

What is particularly funny about that?

Very expensive.

There are two marshmallow thingies.

Schaumzucker-Speckbälle.

18 grams and I think it cost like 2 € or so.

Let's open them up.

And there we have one. Maybe they are just scrumptious.

They taste like marshmallow mice.

With that glitter or powder on top.

Unicorn poop doesn't taste that bad, but marshmallow mice are surely better.

I would give them:

33 points.

Ok, we will continue with 3 more controversial products in my opinion.

The first one... I think everybody knows it by now: Bean Boozled.

Why are we doing that to ourselves?

I alredy had them in the past and they were gross.

There are some new flavors in this pack. It's the fourth edition.

We got spoiled milk, rotten fish, skunk spray, moldy cheese, barf, etc.

They are all pretty bad I would say.

And this is one of the worst: dog food.

Let's open them up! Oh, well...

And there we have some of them. When you smell the bag, it really smells nasty already.

Let's start with this one.

Lime.

That's ok. The other one is lawn clippings, which is still not that bad.

Again lime.

Let's continue with those.

Dead fish.

Still edible.

It goes in the direction of tuna.

Next.

Peach.

Very good.

Again peach.

What was that?

I think spoiled milk.

Still bearable.

No idea what that could be.

I think the last one was moldy cheesy.

Hopefully no dog food.

Licorice.

That was the spoiled milk or the moldy cheese.

Anyway, absolutely gross and I don't know why we do that to ourselves.

As a party gag, ok, but you really feel sick afterwards.

Bean Boozled!

I think the lowest score that I have ever given:

12 points.

For the taste. There are still some good flavors. But they are overshadowed...

Then we have something interesting here. I think everyone can imagine what it is supposed to be.

And just one question: who buys something like this?

And why?

Do you sit on the couch and lick *beep*? I don't know.

Let's check out the taste, though...

This is how they look like and there is also a male version...

Let's see what the flavor will be like.

The taste is ok, nothing spectacular.

It goes in the direction of strawberry and I don't know if they are still suitable for our time.

But ok. I would give them:

35 points.

And lastly and for me the worst product in this selection.

I mean, how can you come up with this terrible idea to introduce kids to cigarettes.

By now, they can't call them cigarettes anymore.

But you can still see the typical shape of a cigarette pack.

And we also bought them as kids and pretended to smoke.

Absolutely perfidious in my opinion.

So this product really makes me angry.

But it is only about the flavor, so let's check them out. I haven't had these yet.

As you can see they are all white now. In the past they also had the filter part.

Anyway, terrible product, but let's examine the flavor.

Not a lot of flavor.

Sugary.

Flavor disapears quickly. Berry flavor...

...goes in the direction of wild strawberry...

...which I love... but...

I would prefer this bubble gum.

However, because the flavor reminds me of wild strawberries, I would give this product:

41 points.

Ok, this was the most stupid candy in the world.

Comment what you think about those and if there are other products that are even worse.

Anyway, very questionable products and maybe you have already tried some of them.

Outro.

For more infomation >> Die dümmsten Süßigkeiten der Welt – The most stupid candy in the world | German with English subs - Duration: 10:07.

-------------------------------------------

Arduino Tutorial For Beginners – Part 2 Web Thermometer - Duration: 5:08.

Arduino Tutorial For Beginners – Part 2 Web Thermometer

For more infomation >> Arduino Tutorial For Beginners – Part 2 Web Thermometer - Duration: 5:08.

-------------------------------------------

Write your First Ever Test | Code Testing #4 - Duration: 10:58.

so in the last episode we have installed phpunit

and created this PHP unit dot XML file and here we have defined firstly the XML

version tag simple one then we are giving this bootstrapped to start from

there then we are saying that ok whenever you are running the test

giveme result in colors then verbose that means give some more information

and whenever you have any failed test just stop executing other tests and then

we are defining theft suits and then one test suit singular one and naming it

unit and defining that ok every test is now inside tests folder here it is the

tests folder we have created unit folder inside this and inside this we will

create our test but before creating the test you can see to run a test we need

to say vendor slash bin slash PHP unit and that will run the test because we

don't have any tests that's why we are getting no tests executed but this is I

don't like ok so what I need I need to have a simple flow to run the test for

that you need to go and install a package or extension for this VX code so

let's press control-shift and X for windows user and command shift in X for

Mac user to have this extension window open on the left side then you need to

type here better PHP unit search for this thing and if it is not giving let's

search like this so second one better PHP unit so let's just install it reload

this vyas code and now press ctrl shift and E or command shift and E to go back

to this Explorer and if I now want to run the test

so let's even close this terminal I want to run the test

so what I will do I will press control-shift and P for Windows user end

command shift + P for Mac user and now I will say run and you can 3 we have this

better PHP or even just simple search for better PHP so let's say better PHP

and hit enter and you can see it says document of

undefined it says better PHP unit open a file to

run command so what happening here we are saying - better be a few that you

need to run a test but where is the test there is no test so let's create a test

now so let's close this window and here in this unit folder let's

create a file called first that has to be first test dot PHP

initialize PHP tag in here let's create a class and class name is first test and

this is going to extend and this is going to extend which thing this is

going to extend our PHP unit tests so it will be like test case so this test case

has to be this one PHP unit framework test case not Celestion bergman and all

these things just this one and because this is created and yeah we have done

this now again let's try our better PHP so command shift P or ctrl shift P for

Windows user better PHP unit hit enter 10 yeah you can see it says tests 1

assertion 0 warning 1 this means it is working that means the better PHP is

working but even that you can see if I type this command shift + P again with

we have shortcuts command K or command R right now I am on this class I will say

command R hmm it's not doing that so let's go to

preferences keyboard shortcuts and hair let's search for better PHP so better

PHP yeah we have this so keybinding is ctrl R so why not make this ctrl R and

yes it is done so if I go here and press

ctrl R it run the test so close this and yeah this is good but what if the file

is closed and if I press ctrl R hmm it says again eh what you are going to run

I don't know so again if you go to preferences and

keyboard shortcuts you will see that it says run previous previous one so why

not run why not give a shortcut to run the previous one I will give ctrl shift

in are for running the previous command or previous test so here we have let's

say control R to run this test that's good close this line ctrl shift and are

the head will execute your last test so right now we don't have any test so yeah

we are going to write the test so this is good let's say public function and

for every function if that is a test you need to prefix word test so test first

time but it will be better if you give your test name descriptive so what I

will say test and our test is multiplication of two number so multi

vacation and I will use camel case of two number so this is good and to assert

something you need to simply say dollar this arrow assert and assert what let's

say assert true okay and inside this whatever you give so what it's like

whatever you give inside parenthesis if that returns true it will say okay you

are expert tink true that means asserting true and

you are getting true so let's say drew here and because I am on this function

if I press command R or control ARF it will execute the test and you can

see if we have okay one test one assertion and that is on the green

colored color that's good nice so this is good but as you you can

see if I say here false and you know I have a close this window and if I press

command shift are or control shift are for PC users windows users it will

execute the last one and which is saying okay it fills why it fails and you have

the description why it fills because first test this the test name actually

failed asserting that false is true you are getting false expecting true that's

why this test fails so let's now go and once more make something so I have one

variable called 5 another variable called let's say 4 and I want to

multiply it so there is multiplication so C will be 5 multiplied by 4 and we

know five fours are 20 so what we are expecting here asserting 20 so C has to

be 20 but how we can assert that the value of C has to be 20 so it's like

assert and what we are going to assert assert equal equals which thing we need

to provide two things that has to be equal so assert C has to be equal to 20

this is good so now run the test control our hand it says asserted and

successfully done but what if I say 21 to 0 1 is ok also and control are it

fails and this is exactly how you can use peach

unit just from the scratch so before moving to the next video let's just

tweak something you know whenever you are writing the test you need to make

sure the function name has to be descriptive and descriptive name becomes

longer and if I see it directly I can't see exact what I have written so why not

do one thing so I will use instead of camel case I will separate each word

with underscore to have a better clarity so like this and test multiplication of

two number and if I try this yes it is still working

oh yeah we know it has to be 20 to pass this test that's okay and this is more

clear in terms of readability the next thing is you can see for every test if

we don't use this test prefix here if I save run the test

it says no tests executed you need to make sure the test has to be there the

word test initially prefix it but instead of this you can do one thing

more you can just create the dog boxers and that will be like Flash /to astrick

and then your dogs and then the s trick and again forward slash so here you need

to say at test if I remove this and try to run it yeah it says no test executed

but if I write this one run it yes you can see it says one tested and that is

successful so just use these little tips to make your test more clear and faster

and if you have liked this episode and if you have not subscribed just go and

subscribe to this channel and don't forgot to hit the bell I can to get the

notification whenever I upload any video follow bit films on Facebook Twitter

Instagram and LinkedIn and we will meet in the next episode till then good bye

For more infomation >> Write your First Ever Test | Code Testing #4 - Duration: 10:58.

-------------------------------------------

Little Do You Know- Cover - Duration: 3:09.

Alahna Ramby

Isn't she SO good?!

She's been in Honor Choir...

She's been in plays...

She sings ALL the time!!!

Plus, she's absolutely ADORBS!!

Subscribe to my Channel

To see more

of Alahna Ramby

And...Me, MJ

SUBSCRIBE

We are working on our next song, so SUBSCRIBE to see what we have in store for you....

Không có nhận xét nào:

Đăng nhận xét