Detailed Notes
Part I 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] well hello and welcome back we are getting near the end of our python django application and walking through some of the the python skills here and we are looking at a an overhaul application so this episode we're going to look at essentially it's a user acceptance testing kind of thing and what we're going to do is we're going to bootstrap this so we're going to use as we go through we're going to walk through our application this is you know a human kind of thing and we're going to look for some maybe some things that we want to do to clean stuff up to sort of uh you know button down the last little pieces and we're going to use our application to track this and so we're going to dive right in we'll start with coming in from our road maps and we've got a road map already that we're going to use for 2021 and we're going to create a new time frame and we're going to call this one immediate and this is stuff that we're going to be working on and uh the parent is going to be nothing so i think we're just going to keep it as itself and the roadmap is already set and uh period this is going to be uh monthly and that will work for now so we're not getting any need any uh time frames we'll go right to our goals now one thing that we would look at here as part of our testing is what happens if i do a create task when i have not yet fully created the time frame so if i try to do that boom that gives me an error so what we're going to do is we're going to actually create a task let's see we created all that so we're going to save this and then one of the first tasks we're going to do is create task on new time frame so we save our record now i think we're going to be able to no actually we probably have to so we've got a nice little bug so if we look at our let's go back to our roadmaps 2021 immediate now create task and so the first one we're going to do is error message on create task when well let's see click on bite i'm sorry on create task went on and clicked on create time frame now here's another little thing is our name is a bit long and so we may want to add a description so let's see we're going to do uh here on create task new time frame so we're going to do that this will be so this isn't really built necessarily for some details but we are going to do is we're going to add that so time frame is immediate uh no due date no completed date but this is gonna be new so that's another thing we wanna do is let's default some of our stuff so we're gonna create this and then um here let's see so now this is on a test let's see what happens if we create a second task so let's say default status on create task and if we do save let's go look at our task let's go roadmap this one immediate okay good so it did create it but it doesn't clear it out i don't know if we want to do that so right now we'll leave it that way you can go in you can edit but it does mean we also want to this is going to be add description field to task uh well we'll just say text for now we're gonna we'll figure out our size at some point so we want to do that and notice a lot of this is going to be for uh usability and speed and this is one of the things that when we uh what is you call it scratch your own itch we're creating an application that we use it's probably going to be pretty nice because we're using it we're in it every day or regularly enough we're going to want to you know make it work nicely it's going to try to work with the way we do stuff so we want to do that and let's see so if we return to immediate we can go back here we can see that we have our tasks now one of the things i think we want to do here because tasks can get sort of long we're going to see how this looks here in a minute so let's say so we've got got our basics put together right now so let's go look at so starting from scratch essentially in our app we come into our login we've got a home which works uh let me log out because now what we do if we do home doesn't really do anything if we do about about is broken on the long end page and log out exists even if you have uh logged in i mean even if you're already so let's make sure if i do let me just reset this real quick okay good so now i've got a couple of things so i'm going to do login shows log out when logged out and we also are going to do that login about page broken and i think that's because we don't have an about anymore we can actually probably look at that do we have uh i do not see yep we don't have an about anymore i don't know if we have one over here so we'll have to actually create an about page of some sort we'll have to do something for that so uh let's just say well we'll do that and we're going to want to create it now the nice thing is because we're returning to this create task then uh we you know we're seeing we're able to tweak these and really quickly enter tasks what we probably want to do is we're going to do a create task provides let's just call it save message because we want to do something here to say hey we did save our record so let's go back to immediate we're going to see a bunch of tasks and so now they you know it's starting to get a little bit long so we may want to change how we do the task listing on edit time frame so let's say uh slimmer display of tasks time frame now what we're doing here i do want to mention is that we are building this more as a bug tracking type of we're using this as a bug tracking tool which is not really what tasks uh typically would do you know our task is going to be you know mow the yard do the dishes things like that we don't necessarily need for example descriptions but we're going to provide it and we will make it nullable so we save that make that new save the record now the other thing is is like if we save on an already saved record what does this do let's go look at that real quick so we're going to see that we're actually duplicating so let's take this one and delete it okay good that works now delete returns us to all tasks so that's yet another that we want to look at so let's go back to roadmaps time frame immediate and so we've got a couple here so one we want to do is uh save may duplicate task which probably is okay but we're going to put it up there anyways because as we change some other things that may work for us and we also want to do uh delete tasks task returns to task list which we probably don't want to do we want to go back to where we were this is one of those navigation things we ran across when we started to add a little bit of a flow from you know road maps into time frames and things like that so now if we look at task list uh task list what we probably want to do here is uh this is a report so there's a couple things well if we look at our reports let's go back to that so let's just say tasks by roadmap if we look at that remember we aren't able to really do anything with these we can see that there's some status stuff like that but if we go to our task list we can complete and i guess we can come in and edit but we don't have a way to filter so we probably want to add a filter to all tasks so let's oops and create tasks doesn't work from the task list so there's another one for us to work on notice as you start getting in testing you can uh yeah you can crank out some tasks pretty quick so let's see first one is a create task from task list does not work i will just say broken and then we also want to do uh add filter to task list and that'll work here and so where i thought maybe we're getting close and we probably have a couple episodes of stuff to go through doing some uh some of this bug fixing some of this or uh feature rounding out we'll say it's not some of it's bugs some of it as we see our feature changes uh but we'll you know this can take a little bit time to clean stuff up and this is just really we're sort of functionally focused right now so if we come in uh we do our home page is our active tasks and we probably uh these are actually all i believe new are these are things that aren't completes remember so we've got that we may want to tweak that i think for now we'll leave active tasks as it is so we've got quite a few uh we actually probably want to change active tasks filter by time frame oh that does allow us there that's interesting uh so we want to active tasks filter by time frame it's gonna be new he's gonna work off his time frame immediate save the record okay good so he's there oh and he even returns us to immediate so that's pretty good there's some of this that's working actually pretty nicely uh let's see so we are going to have to look at something that's rather interesting here that i don't know i want to test it right at this point i'm going to test it on the other one is delete record from a time frame so roadmaps uh if we go into a roadmap we can delete a roadmap but we want to figure out what does it do downstream so let's look at this one at our 2022 because we didn't really do much with it so we're going to have to actually create some test data so this is going to be time frame one and uh it'll be well we'll just say it's quarterly parent is nothing because this is a time for oh wait yeah okay so it doesn't have a parent within the time frame so we're gonna do that and then we have sort of the same thing here but we can quickly create some time frames so now if we go back to our roadmap uh it has two children we have some time frame so let's go in here and let's uh actually we're gonna have to create both so this is gonna be uh time frame three because we're gonna have to walk down our list a little bit so let's create a time frame three and we're going to create a task on this it's just a random task off of time frame one oh and uh we're actually going to need to go back to our uh annual goals and on time frame two i want to create a task without a time frame oh let's see it's just going to be another task let's call it that and so now what we've got if we work our way up to goals 2022 on that for our road map is we've got two different time frames we've got a time frame that has children and then we have a time frame that does not have children but it has a task the first thing we want to test is what happens if i delete this time frame for this task now the task is another task whoops and let's see what happens to it so if i try to delete my time frame boom now delete time frame returns to all time frames that's probably something we want to change so delete time frame goes to time frame list let me see if i can get here we go okay so if i go back to annual goals oh i don't want annual goals 2022 oh this is moving stuff around so this is going to be where i'm going to have a little bit of a challenge so first let's go here 2021 immediate uh create a task and this is going to be uh delete time frame returns to time frame list which i don't think we want to do whoops i don't need a due date yet and then what was the other one okay so now i need to look from here let's go back to roadmaps 2022. so it only has one child but if we look it says it has two which is not right so we also know that let's go back here 2021 2022 oh so here we go back into immediate and we need a task which is time frame does not show child count when deleted we'll just say that and so now if we go back to our road maps 2022 the interesting thing is is that we have no we don't it shows two but we only have one so if we go back to i think we called it tfs is our time frame list so we look from here and it's going to see we're going to see the time frame too oh it's because the child is the child of the child time frame which is probably okay so now we do want to look at our task list and we should see somewhere down here so it looks like it did create our our other task it looks like it did get deleted so that's good so it did do a child delete so now we can probably go in and if we say annual goals 2022 then we should see time frame 1 disappear let's see if all of this works so if we delete our roadmaps so now we only have our one and if we look at our task list then uh down here we lost the tasks that were on that time frame these are all under immediate so we're all good if we look at our time frames then we'll see that these are all based off of our 2021. if we look at any one of these oh we're gonna have to fix that then we're gonna see that these are the annual goals 2021. so let's go back here so if we look at the uh time frame list i don't know if we're actually still going to use it uh let's go here uh here immediate task let's see fix edit on time frame list because we want to make it something other than that button so that's our start this has gone a little long but i'm going to maybe determine a little bit where i can but we're going to come in next episode we're going to continue this is notice that it can take a little bit of time so we'll do so we're going to take some time and get ourselves a nice healthy list of things we want to fix and then talk about actually addressing those remediation of those issues that being said i'll cut it short right now there's not going to be an update in the um in github at this point what i'll end up doing is i'll probably export the items uh create a list or something like that and store that so there's not a version control update for this episode and likely not the next one sorry if i ran a little bit long but as always go out there have yourself a great day and we will talk to you next time you
Transcript Segments
[Music]
well hello and welcome back
we are getting near the end of our
python django
application and walking through some of
the the python skills here
and we are looking at a an overhaul
application so
this episode we're going to look at
essentially it's a user acceptance
testing
kind of thing and what we're going to do
is we're going to bootstrap this so
we're going to use
as we go through we're going to walk
through our application this is you know
a human kind of thing
and we're going to look for some maybe
some things that we want to do to clean
stuff
up to sort of uh you know button down
the last little pieces
and we're going to use our application
to track this
and so we're going to dive right in
we'll start with
coming in from our road maps and we've
got a road map already that we're going
to use for 2021
and we're going to create a new time
frame and we're going to call this one
immediate and this is stuff that we're
going to be working on
and uh the parent is going to be
nothing so i think we're just going to
keep it as itself
and the roadmap is already set and uh
period this is going to be
uh monthly and
that will work for now so we're not
getting any need
any uh time frames we'll go right to our
goals
now one thing that we would look at here
as part of our testing is what happens
if i do a create task
when i have not yet fully created the
time frame
so if i try to do that boom that gives
me an
error so what we're going to do is we're
going to actually create a task
let's see we created all that so we're
going to save this and then one of the
first tasks we're going to do
is create task on new time frame
so we save our record now i think we're
going to be able to no
actually we probably have to so we've
got a nice little bug so if we look at
our let's go back to our roadmaps 2021
immediate now create task
and so the first one we're going to do
is
error message
on create task
when well let's see
click on bite i'm sorry on create task
went
on and clicked on
create time frame
now here's another little thing is our
name is a bit long
and so we may want to add a description
so let's see we're going to do
uh here on create task
new time frame so we're going to do that
this will be so this isn't really built
necessarily for some details
but we are going to do is we're going to
add that so time frame is immediate
uh no due date no completed date but
this is gonna be new
so that's another thing we wanna do is
let's default some of our stuff so we're
gonna create this
and then um here let's see
so now this is on a test let's see what
happens if we create a second task so
let's say
default status on
create task and
if we do save let's go look at our task
let's go roadmap
this one immediate
okay good so it did create it but it
doesn't clear it out i don't know if we
want to do that so right now we'll leave
it that way you can go in you can edit
but it does mean we also want to
this is going to be add
description field to task
uh well we'll just say text for now
we're gonna we'll figure out our size at
some point so we want to do that
and notice a lot of this is going to be
for
uh usability and speed and this is one
of the things that when we
uh what is you call it scratch your own
itch we're creating an application
that we use it's probably going to be
pretty nice because we're using it we're
in it every day or
regularly enough we're going to want to
you know make it work
nicely it's going to try to work with
the way we do stuff
so we want to do that and
let's see so if we return to immediate
we can go back here we can see that we
have our tasks
now one of the things i think we want to
do here because tasks
can get sort of long we're going to see
how this looks here in a minute
so let's say so we've got got our basics
put together
right now so let's go look at so
starting from scratch essentially in our
app we come into our login
we've got a home which works uh
let me log out because now what we do if
we do home doesn't really do anything if
we do about
about is broken on the long end page
and log out exists even if
you have uh logged in i mean even if
you're already so
let's make sure if i do let me just
reset this real quick
okay good so now i've got a couple of
things so i'm going to do
login
shows log out
when logged out
and we also are going to do that
login
about page broken
and i think that's because we don't have
an about anymore we can actually
probably look at that do we have
uh i do not see
yep we don't have an about anymore i
don't know if we have one over here so
we'll have to actually create an about
page of some sort we'll have to do
something for that
so uh let's just say
well we'll do that and we're going to
want to create it
now the nice thing is because we're
returning to this create task
then uh we you know we're seeing we're
able to
tweak these and really quickly enter
tasks what we probably want to do is
we're going to do a create task
provides let's just call it save message
because we want to do something here to
say hey we did save our record
so let's go back to immediate we're
going to see a bunch of tasks
and so now they you know it's starting
to get a little bit long so we may
want to change how we do the task
listing
on edit time frame
so let's say uh slimmer
display of tasks
time frame now what we're doing here
i do want to mention is that we are
building this more as a
bug tracking type of we're using this as
a bug tracking tool
which is not really what tasks
uh typically would do you know our task
is going to be you know mow the yard do
the dishes things like that
we don't necessarily need for example
descriptions
but we're going to provide it and we
will make it
nullable so we save that
make that new save the record now the
other thing is is like
if we save on an already saved record
what does this do let's go look at that
real quick so
we're going to see that we're actually
duplicating
so let's take this one and delete it
okay good that works now delete returns
us to all tasks so that's
yet another that we want to look at so
let's go back to
roadmaps time frame
immediate and so we've got a couple here
so one we want to do
is uh save
may duplicate task
which probably is okay but we're going
to put it up there anyways because as we
change some other things that may work
for us
and we also want to do uh delete
tasks task returns
to task list which we probably don't
want to do we want to go back to where
we were
this is one of those navigation things
we ran across when we started to add a
little bit of a
flow from you know road maps into time
frames and things like that
so now if we look at task list uh
task list what we probably want to do
here
is uh this is a report so there's a
couple things well if we look at our
reports let's go back to that
so let's just say tasks
by roadmap
if we look at that remember we aren't
able to really do anything
with these we can see that there's some
status stuff like that but if we go to
our task list
we can complete and i guess we can come
in and edit but we don't have a way to
filter
so we probably want to add a filter to
all tasks
so let's oops and create tasks doesn't
work from the task list so there's
another one for us to work on
notice as you start getting in testing
you can uh yeah you can crank out some
tasks pretty quick
so let's see first one is a create task
from task list does
not work i will just say broken
and then we also want to do uh
add filter to task list
and that'll work here and so where i
thought maybe we're getting close
and we probably have a couple episodes
of stuff to go through doing some
uh some of this bug fixing some of this
or
uh feature rounding out we'll say it's
not some of it's bugs some of it as we
see our feature changes
uh but we'll you know this can take a
little bit time to clean stuff
up and this is just really we're sort of
functionally focused right now so if we
come in
uh we do our home page is our active
tasks
and we probably uh these are actually
all
i believe new are these are things that
aren't completes remember so we've got
that we may want to
tweak that i think for now we'll leave
active tasks as it is so we've got quite
a few
uh we actually probably want to change
active tasks filter by time frame
oh that does allow us there that's
interesting uh so we want to
active tasks
filter by time frame
it's gonna be new he's gonna work off
his time frame immediate
save the record okay good so he's there
oh and he even returns us to immediate
so that's pretty good there's some of
this that's working
actually pretty nicely uh let's see so
we are going to have to look at
something that's rather interesting here
that i don't know i want to test it
right
at this point i'm going to test it on
the other one is delete record from a
time frame
so roadmaps uh if we go into a roadmap
we can
delete a roadmap but we want to figure
out what does it do
downstream so let's look at
this one at our 2022 because we didn't
really do much with it so we're going to
have to actually create some test data
so this is going to be time frame one
and uh it'll be well we'll just say it's
quarterly
parent is nothing because this is a time
for oh wait
yeah okay so it doesn't have a parent
within the time frame so we're gonna do
that
and then we have sort of the same thing
here but we can quickly create some time
frames
so now if we go back to our roadmap uh
it has two children
we have some time frame so let's go in
here and let's
uh actually we're gonna have to create
both so this is gonna be uh
time frame three because we're gonna
have to walk down
our list a little bit so let's create a
time frame three
and we're going to create a task on this
it's just a
random task off of time frame one
oh
and uh we're actually going to need to
go back to
our uh annual goals and on time frame
two i want to create a task without a
time frame
oh let's see it's just going to be
another task let's call it that
and so now what we've got if we work our
way up to
goals 2022 on that for our road map is
we've got two different time frames
we've got a time frame that has children
and then we have a time frame that does
not have children
but it has a task the first thing we
want to test is what happens if i delete
this time frame
for this task now the task is another
task
whoops and let's see what happens to it
so if i try to delete my time frame boom
now delete time frame returns to all
time frames that's probably something we
want to change
so delete time frame
goes to time frame list
let me see if i can get here we go okay
so if i go back to annual goals
oh i don't want annual goals 2022 oh
this is moving stuff around
so this is going to be where i'm going
to have a little bit of a challenge so
first let's go here
2021 immediate
uh create a task and this is going to be
uh
delete time frame returns
to time frame list which i don't think
we want to do
whoops i don't need a due date yet
and then what was the other one okay so
now i need to look
from here let's go back to roadmaps
2022. so it only has one child but if we
look
it says it has two
which is not right so we also know
that let's go back here
2021 2022 oh so here
we go back into immediate
and we need a task which is
time frame does not
show child count when deleted
we'll just say that
and so now if we go back to our road
maps 2022
the interesting thing is is that we have
no we don't it shows two but we only
have one so if we go back to i think we
called it tfs
is our time frame list so we look from
here and it's going to see
we're going to see the time frame too oh
it's because the child
is the child of the child time frame
which is probably okay
so now we do want to look at our task
list
and we should see somewhere down here
so it looks like it did create our
our other task it looks like it did get
deleted so that's good so it did do
a child delete so now we can probably go
in and if we say
annual goals 2022 then we should see
time frame 1 disappear let's see if all
of this works so if we delete our
roadmaps
so now we only have our one
and if we look at our task list
then uh down here
we lost the tasks that were
on that time frame these are all under
immediate so we're all good
if we look at our time frames
then we'll see that these are all based
off of
our 2021. if we look at any one of these
oh we're gonna have to fix that then
we're gonna see that these are the
annual goals 2021.
so let's go back here so if we look at
the uh
time frame list i don't know if we're
actually still going to use it
uh let's go here uh here
immediate task
let's see fix edit on
time frame list because we want to make
it something other than that button
so that's our start this has gone a
little long but i'm going to
maybe determine a little bit where i can
but we're going to come in next episode
we're going to continue this is notice
that it can take a little bit of time
so we'll do so we're going to take some
time and get ourselves a nice healthy
list
of things we want to fix and then talk
about
actually addressing those remediation of
those issues
that being said i'll cut it short right
now there's not going to be an update
in the um
in github at this point what i'll end up
doing is i'll probably export the items
uh create a list or something like that
and store that so there's not a version
control
update for this episode and likely not
the next one
sorry if i ran a little bit long but as
always go out there have yourself a
great day
and we will talk to you next time
you