📺 Develpreneur YouTube Episode

Video + transcript

Learn Python And Django Day 49

2021-04-15 •Youtube

Detailed Notes

Part II of our walk-through/UAT testing. We will be testing the application for usability and features to make our experience a productive one.

You can view source for today and all prior days by reviewing the tag Day 47 at this GitHub: https://github.com/robbroadhead/develpreneur-pythontutorial

Transcript Text
[Music]
hello and welcome back
we are in the midst of our uat
we have created actually we're working
from
our 2021 goals immediate and we'll see
we've got a
fair amount of tasks here that we've
already built
so let's uh continue on and see if
hopefully we don't have quite as much to
do this time around
so we've worked our way into uh road map
create a road map we've done that that's
good we come in we know that we can
delete a record
we know that we can savor it let's look
at this so let's just change our name
and make sure that we don't end up like
creating a delete or something like or
i'm sorry duplicate
so if we do annual goals 2021 save
record
it goes back annual goals 2021 has eight
children
bone and this is our overall
children for each of those so which is
interesting
because here we have uh two time frames
plus so that's one two three four five
no time frames no time frames
so i'm not sure what the eight children
are
here so we probably need to look at the
child count
for um roadmap so let's go in here
and we're going to create a task and
this is going to be
child count off
for roadmap
and let's see so we'll save that so now
let's go back to our roadmap
pretty good up at the roadmap level uh
so let's play around a little bit
here this is going to be uh well if you
look here
annual personal goals has two time
frames
but notice that it's not actually
drilling down oh which is probably what
we're seeing
at the roadmap level so that probably is
okay
it's seeing all of the children all of
the time frame children which can be
sizable so um
we may have fixed that one but then if
we look here if we i'm sorry go back
here
here so annual personal goals has two
children but it doesn't
really uh it has more so really
instead of the road map uh what we
really need to do is time frame count
is not recursive i don't know if we want
to do that or
not and then also
child time frames is not showing
a count so we won't see we don't see how
many we've got
for those quarters so let's add a count
to child
time frames on edit time frames we've
got to be sort of specific here
immediate task
so child tf
on tf edit
uh no child count we'll do it like that
and what we're going to see with a lot
of these is this is where we're
taking we're going to take pieces that
we've already done and we're basically
going to
allow them to trickle down all the way
through the application in this
particular case
which works well because we have a
parent-child relationship with road maps
and time frames and
child time frames sometimes that's going
to work out
sometimes it is not depending on what
your application is and as you get into
the
the acceptance testing but yeah in my
experience more often than not you're
going to find a lot of stuff that is
essentially incomplete you did it to
some point to some extent through
application but not
all the way through uh so i think save
the record
again this is where it'd be nice if i
had known
okay good so i've got that so now we
also do want to do
uh let's see
let's not show child count when deleted
oh so it must be at the top
oh there's actually there's no sort on
this that's interesting
so if we look uh what did we do
description filter challenge yes there's
no sort or anything
so we probably want to have some way
to i think probably just do a default
maybe
it's oh it is by it's by name so that's
okay i guess we'll let that go
so that being said so we've got in our
uh let's go back to here
let's go here personal goals has two
children let's do first quarter
and we've got a task if we go to january
we don't have any tasks
so we probably want to look at we need
to find
an overall and this is probably a report
we want to run so report
by if we do report by timeline
oh because it didn't create my so report
by timeline
i could come in here and see
what is out there task by time frame but
what i really want
is if i do task by road map
how does that work so this one we do
group them i guess so we could see
within it but we don't
go down to the uh the child time frame
so we see first quarter
but we don't really see within that and
let's go verify that so let's go
uh first quarter this is annual personal
goals first quarter
oh it does have a task but let's go down
into january and create a task
of uh let's just say start the year
right
i don't have a typo and this is going to
be new
and let's see if start the year right
shows up
properly so now if i go to my report by
roadmap annual goals
and then i'm going to see i do see it
here but what i probably want to do
is show parent on
task by roadmap or yeah i think we want
to do that so we've
we have built this currently without a
parent
so let's probably add a parent
somehow within task by roadmap
i'm not sure how we want to do that but
let's just make it a task
and we'll solve that problem we get to
it
so go here immediate create tasks
this is going to be report
tasks uh let's see
show time frame parent
and task list this is gonna allow us to
group things a little bit differently
and so that's going to be new and we're
good
so i think what we want to look at here
[Music]
at this point we sort of walk through
some of these pieces
and so what we can do here is we can
start actually
looking at the remediation side of this
because what we're going to do is we're
going to continue to use this and be
working on this but now
we've worked through our we've gotten
into our roadmaps we've looked really
you know nicely at that looking at
essentially all of the buttons that are
available we've been able to create time
frames save records delete records
we go down into our time frames
themselves
we've been able to save and delete
records create time frames create tasks
and so let's go back up to annual goals
let's go to immediate
and so let's start with how do we work
this particular list of items that we're
working on
and from our point of view this is not
um
this is gonna be a little again a little
different because
we're treating it as a bug tracking
and it's not really intended the
application is more for tasks
but that's okay because what we're going
to do here is we're going to start
actually working our tasks so what i
want to do
one is see what is it that i should be
working on now that should be
home now home is active tasks
and what i probably want to do in active
tasks
we had this filter by time frame and so
that's actually going to be the first
thing i'm going to take a look at is i
want to
in my tasks on home filter by time frame
and now we've seen this before to some
extent with our
reports so what i need to do
is if i go back to tasks
what i need to do is probably either
what i want to do here is i'm going to
make it sort of simple
because i'm going to go into my views
which is list tab oh i'm sorry
not tasks
this is my to do and what i want to do
there is i want to make it with
a an active time frame
so if i look at to do which is
worse to do where's to do there it is
so it's active tasks and so now if i
looked at
active tasks
now here i'm going to need a time frame
well i'm actually going to filter by
status equals complete
and i'm probably going to need also a
time frame
i think is what we call it
so if i look at my tasks model
it is yes it is time frame
and then time frame is going to be equal
to i'm going to call it current
and i need to get my current time frame
and i think i had that
somewhere in here let's just go find out
where i put that task by time
frame
and i do think i set so here we go um
did i set so that's p
is going to be i think my current user
see do i set that in the session let's
go back and take a look at it
oh so my current parent
is p and did i have
oh so session i've got a road map and a
parent so i can do that
so the current cert the uh
current session here is the parent
and i'm gonna do this let's see so i'm
going to take that same thing
and if i look at to do
which was actually what was that i
actually wanted to look at
active tasks i'm sorry
so if i look at active tasks what i want
to do here is that current
is going to be instant apparent it's
going to be current
equals that
and then uh let's see
let's just say current
so now let's start that actually
where did i do the session cleanup
because i think i made it
let's see what we made it so let's just
clean up
oh clean session
oh there it was so it's equal to null so
that's right oh
let's take that we're going to say hey
equal to null
there we go and so it's going to be null
otherwise it's going to come in it's
going to try to go by time frame equals
current
so now let's see if that actually works
let's i think this actually is probably
going to do that
null is not defined
is that not what i called it
none i'm sorry
okay do that now
so now i should see everything nope so
time frame is not immediate
so i may not have my parents set up so
let's go try that real quick so if i go
to road maps
uh parent time frame is immediate so now
from here i've set my parent and if i go
back to my home
it's still not setting it right so let's
take a look
if i come in here
that's active tasks that is correct
yep so let's just print that just in
case
uh current equals another time frame so
let's just print
oh
let's do print current just to be
sure and so now
if i come in here and whoop i didn't
like that
let's try that again i think i broke
something oh
i did
so if i do that
and now i'm going to see that immediate
is my parent but for some reason my time
frame
is not getting set right
so i want to make sure that i get that
set
correctly uh current equals
so it's getting the right one
and we're probably i'm gonna go ahead
and
tackle that next episode because we're
actually starting to run a little low on
time
so we're going to contin we're going to
work our way into remediation
first thing we're going to do is we're
going to start digging into some of the
uh
the filtering obviously of this so we
can get our
focus on tasks and then we're going to
continue to walk through these we're
going to knock these things out and be
updating our
tasks so we're going to actually be
fixing and doing some of our user
acceptance at the same time that being
said
that will wrap it up for this one so as
always go out there and have yourself a
great day
and we will talk to you next time
you
Transcript Segments
0.46

[Music]

26.24

hello and welcome back

27.519

we are in the midst of our uat

30.64

we have created actually we're working

33.76

from

34.239

our 2021 goals immediate and we'll see

37.52

we've got a

38.239

fair amount of tasks here that we've

40.48

already built

42.48

so let's uh continue on and see if

45.44

hopefully we don't have quite as much to

46.96

do this time around

48.239

so we've worked our way into uh road map

51.28

create a road map we've done that that's

52.879

good we come in we know that we can

54.559

delete a record

56.16

we know that we can savor it let's look

57.84

at this so let's just change our name

59.84

and make sure that we don't end up like

61.92

creating a delete or something like or

63.52

i'm sorry duplicate

64.72

so if we do annual goals 2021 save

67.28

record

68.24

it goes back annual goals 2021 has eight

71.119

children

72.08

bone and this is our overall

75.119

children for each of those so which is

78.08

interesting

79.119

because here we have uh two time frames

82.96

plus so that's one two three four five

86.72

no time frames no time frames

91.04

so i'm not sure what the eight children

93.92

are

95.04

here so we probably need to look at the

96.479

child count

98.24

for um roadmap so let's go in here

103.2

and we're going to create a task and

104.96

this is going to be

106.88

child count off

110.399

for roadmap

116.719

and let's see so we'll save that so now

119.04

let's go back to our roadmap

121.28

pretty good up at the roadmap level uh

123.439

so let's play around a little bit

124.88

here this is going to be uh well if you

127.52

look here

128.479

annual personal goals has two time

130.64

frames

132.239

but notice that it's not actually

134

drilling down oh which is probably what

135.84

we're seeing

137.12

at the roadmap level so that probably is

140

okay

140.48

it's seeing all of the children all of

142.48

the time frame children which can be

145.2

sizable so um

148.64

we may have fixed that one but then if

150.239

we look here if we i'm sorry go back

152.16

here

153.28

here so annual personal goals has two

155.92

children but it doesn't

157.36

really uh it has more so really

160.4

instead of the road map uh what we

163.92

really need to do is time frame count

166.72

is not recursive i don't know if we want

169.28

to do that or

170

not and then also

173.2

child time frames is not showing

176.239

a count so we won't see we don't see how

178.879

many we've got

180

for those quarters so let's add a count

182.48

to child

183.12

time frames on edit time frames we've

186.239

got to be sort of specific here

191.2

immediate task

194.239

so child tf

197.519

on tf edit

201.04

uh no child count we'll do it like that

205.44

and what we're going to see with a lot

206.48

of these is this is where we're

208.64

taking we're going to take pieces that

210

we've already done and we're basically

211.44

going to

212.08

allow them to trickle down all the way

213.519

through the application in this

215.04

particular case

216.879

which works well because we have a

218.959

parent-child relationship with road maps

221.2

and time frames and

222.959

child time frames sometimes that's going

225.12

to work out

226.08

sometimes it is not depending on what

228

your application is and as you get into

230.48

the

231.599

the acceptance testing but yeah in my

234.48

experience more often than not you're

235.68

going to find a lot of stuff that is

238.64

essentially incomplete you did it to

240.239

some point to some extent through

241.76

application but not

242.799

all the way through uh so i think save

246.159

the record

246.72

again this is where it'd be nice if i

249.28

had known

251.04

okay good so i've got that so now we

252.879

also do want to do

254.56

uh let's see

258.239

let's not show child count when deleted

260.079

oh so it must be at the top

263.04

oh there's actually there's no sort on

265.04

this that's interesting

267.36

so if we look uh what did we do

270.8

description filter challenge yes there's

273.199

no sort or anything

274.72

so we probably want to have some way

278.639

to i think probably just do a default

282.96

maybe

283.36

it's oh it is by it's by name so that's

286.72

okay i guess we'll let that go

290.56

so that being said so we've got in our

292.479

uh let's go back to here

294.08

let's go here personal goals has two

297.28

children let's do first quarter

300.32

and we've got a task if we go to january

302.96

we don't have any tasks

304.4

so we probably want to look at we need

307.68

to find

308.24

an overall and this is probably a report

310.72

we want to run so report

312.16

by if we do report by timeline

318.72

oh because it didn't create my so report

321.44

by timeline

322.88

i could come in here and see

326.24

what is out there task by time frame but

329.28

what i really want

330.4

is if i do task by road map

334

how does that work so this one we do

336.639

group them i guess so we could see

338.56

within it but we don't

339.84

go down to the uh the child time frame

343.68

so we see first quarter

346.32

but we don't really see within that and

348.56

let's go verify that so let's go

350.4

uh first quarter this is annual personal

354.479

goals first quarter

356.16

oh it does have a task but let's go down

359.759

into january and create a task

362.639

of uh let's just say start the year

365.36

right

368.88

i don't have a typo and this is going to

371.919

be new

374.16

and let's see if start the year right

376.319

shows up

377.199

properly so now if i go to my report by

380.319

roadmap annual goals

384.319

and then i'm going to see i do see it

386.4

here but what i probably want to do

388.56

is show parent on

391.6

task by roadmap or yeah i think we want

394.96

to do that so we've

396

we have built this currently without a

398.4

parent

399.36

so let's probably add a parent

403.36

somehow within task by roadmap

406.4

i'm not sure how we want to do that but

407.759

let's just make it a task

409.52

and we'll solve that problem we get to

411.52

it

412.56

so go here immediate create tasks

416.88

this is going to be report

420.84

tasks uh let's see

423.759

show time frame parent

427.919

and task list this is gonna allow us to

430.56

group things a little bit differently

433.84

and so that's going to be new and we're

436.8

good

437.84

so i think what we want to look at here

440.85

[Music]

442.24

at this point we sort of walk through

443.919

some of these pieces

446.8

and so what we can do here is we can

448.56

start actually

450.08

looking at the remediation side of this

453.44

because what we're going to do is we're

454.72

going to continue to use this and be

456.72

working on this but now

458.479

we've worked through our we've gotten

460.319

into our roadmaps we've looked really

461.919

you know nicely at that looking at

463.199

essentially all of the buttons that are

464.479

available we've been able to create time

466

frames save records delete records

468.72

we go down into our time frames

471.68

themselves

472.319

we've been able to save and delete

473.84

records create time frames create tasks

477.68

and so let's go back up to annual goals

479.68

let's go to immediate

482.16

and so let's start with how do we work

486.16

this particular list of items that we're

489.28

working on

490.879

and from our point of view this is not

492.96

um

494.16

this is gonna be a little again a little

495.68

different because

497.28

we're treating it as a bug tracking

501.68

and it's not really intended the

503.28

application is more for tasks

506

but that's okay because what we're going

507.36

to do here is we're going to start

509.039

actually working our tasks so what i

511.919

want to do

512.719

one is see what is it that i should be

514.88

working on now that should be

517.44

home now home is active tasks

522

and what i probably want to do in active

524.32

tasks

525.519

we had this filter by time frame and so

528.56

that's actually going to be the first

529.92

thing i'm going to take a look at is i

531.44

want to

532.16

in my tasks on home filter by time frame

536.88

and now we've seen this before to some

539.279

extent with our

540.8

reports so what i need to do

545.44

is if i go back to tasks

549.839

what i need to do is probably either

552.64

what i want to do here is i'm going to

553.519

make it sort of simple

555.68

because i'm going to go into my views

558

which is list tab oh i'm sorry

559.6

not tasks

563.92

this is my to do and what i want to do

566.56

there is i want to make it with

567.92

a an active time frame

571.76

so if i look at to do which is

577.76

worse to do where's to do there it is

581.6

so it's active tasks and so now if i

585.44

looked at

586.08

active tasks

589.76

now here i'm going to need a time frame

594.72

well i'm actually going to filter by

598.32

status equals complete

605.92

and i'm probably going to need also a

608.8

time frame

611.04

i think is what we call it

614.16

so if i look at my tasks model

619.12

it is yes it is time frame

622.399

and then time frame is going to be equal

624.399

to i'm going to call it current

626.48

and i need to get my current time frame

628.32

and i think i had that

632.32

somewhere in here let's just go find out

635.76

where i put that task by time

637.44

frame

642.56

and i do think i set so here we go um

648.24

did i set so that's p

651.76

is going to be i think my current user

658.56

see do i set that in the session let's

660.24

go back and take a look at it

664.399

oh so my current parent

667.6

is p and did i have

673.2

oh so session i've got a road map and a

675.04

parent so i can do that

678.16

so the current cert the uh

681.36

current session here is the parent

685.68

and i'm gonna do this let's see so i'm

688.8

going to take that same thing

690.64

and if i look at to do

693.92

which was actually what was that i

695.6

actually wanted to look at

698

active tasks i'm sorry

702.399

so if i look at active tasks what i want

704

to do here is that current

709.2

is going to be instant apparent it's

711.92

going to be current

712.88

equals that

719.44

and then uh let's see

724.399

let's just say current

728.72

so now let's start that actually

731.839

where did i do the session cleanup

733.44

because i think i made it

741.2

let's see what we made it so let's just

743.12

clean up

744.8

oh clean session

748.959

oh there it was so it's equal to null so

753.44

that's right oh

759.68

let's take that we're going to say hey

761.68

equal to null

765.6

there we go and so it's going to be null

768.399

otherwise it's going to come in it's

769.6

going to try to go by time frame equals

771.6

current

772.16

so now let's see if that actually works

775.2

let's i think this actually is probably

776.88

going to do that

778.639

null is not defined

784.959

is that not what i called it

788.639

none i'm sorry

792.399

okay do that now

796.16

so now i should see everything nope so

798.639

time frame is not immediate

802.639

so i may not have my parents set up so

804.32

let's go try that real quick so if i go

806.079

to road maps

808.16

uh parent time frame is immediate so now

812.8

from here i've set my parent and if i go

815.68

back to my home

818.32

it's still not setting it right so let's

820

take a look

823.12

if i come in here

829.279

that's active tasks that is correct

832.8

yep so let's just print that just in

835.68

case

839.839

uh current equals another time frame so

841.519

let's just print

842.959

oh

846.079

let's do print current just to be

849.12

sure and so now

852.56

if i come in here and whoop i didn't

855.6

like that

856.48

let's try that again i think i broke

857.76

something oh

861.76

i did

867.199

so if i do that

870.32

and now i'm going to see that immediate

873.44

is my parent but for some reason my time

875.68

frame

876.48

is not getting set right

880

so i want to make sure that i get that

883.92

set

884.32

correctly uh current equals

888.399

so it's getting the right one

894.079

and we're probably i'm gonna go ahead

896.959

and

898.16

tackle that next episode because we're

899.76

actually starting to run a little low on

901.36

time

902.32

so we're going to contin we're going to

903.44

work our way into remediation

905.36

first thing we're going to do is we're

906.32

going to start digging into some of the

908.24

uh

908.639

the filtering obviously of this so we

910.56

can get our

912.32

focus on tasks and then we're going to

914.56

continue to walk through these we're

915.76

going to knock these things out and be

917.44

updating our

918.48

tasks so we're going to actually be

920.24

fixing and doing some of our user

922.88

acceptance at the same time that being

926.16

said

926.639

that will wrap it up for this one so as

928.399

always go out there and have yourself a

930.24

great day

931.12

and we will talk to you next time

949.199

you